@vcp-dev/contracts 0.6.9 → 0.6.11
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/api-response.d.ts +11 -0
- package/dist/cms-collection-binding.d.ts +2 -2
- package/dist/cms-page-directory.d.ts +245 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/connect-dynamic-collection.d.ts +13 -9
- package/dist/connect-form.d.ts +5 -3
- package/dist/crawler-task-service.d.ts +352 -0
- package/dist/custom-domain.d.ts +36 -2
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/external-site-edit.d.ts +258 -0
- package/dist/firecrawl-internal.d.ts +103 -0
- package/dist/form-design.d.ts +106 -108
- package/dist/google-search-console.d.ts +316 -0
- package/dist/index.d.ts +5493 -1916
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +15 -15
- package/dist/internal-entity-id.d.ts +37 -0
- package/dist/launcher-prompt-templates.d.ts +639 -0
- package/dist/media-library.d.ts +164 -0
- package/dist/product-search.d.ts +227 -0
- package/dist/publish-quality.d.ts +92 -0
- package/dist/site-edit-capability.d.ts +6 -6
- package/dist/site-edit-event.d.ts +15 -7
- package/dist/site-edit-operation.d.ts +57 -15
- package/dist/site-edit-patch-plan.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +27 -23
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-preview.d.ts +50 -0
- package/dist/site-workflow.d.ts +1006 -0
- package/dist/sitemap-navigation.d.ts +9 -0
- package/dist/step2-site-initialization.d.ts +209 -0
- package/dist/step3-digital-employee-analysis.d.ts +695 -0
- package/dist/step4-diagnosis.d.ts +204 -0
- package/dist/step5-strategy.d.ts +2697 -0
- package/dist/step6-design.d.ts +672 -0
- package/dist/template-upgrade-observability.d.ts +4 -4
- package/dist/user-facing-copy.d.ts +1 -0
- package/dist/workspace-design-apply.d.ts +1 -1
- package/dist/workspace-resource-operation.d.ts +722 -0
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
|
@@ -11,6 +11,7 @@ export declare const SiteEditOperationTypeSchema: z.ZodEnum<{
|
|
|
11
11
|
"apply-style-draft": "apply-style-draft";
|
|
12
12
|
"source-edit": "source-edit";
|
|
13
13
|
"insert-page-resource": "insert-page-resource";
|
|
14
|
+
"delete-page-source": "delete-page-source";
|
|
14
15
|
}>;
|
|
15
16
|
export type SiteEditOperationType = z.infer<typeof SiteEditOperationTypeSchema>;
|
|
16
17
|
export type SiteEditOperationValue = string | number | boolean | null | SiteEditOperationValue[] | {
|
|
@@ -42,11 +43,11 @@ export declare const SiteEditStylePropertySchema: z.ZodEnum<{
|
|
|
42
43
|
color: "color";
|
|
43
44
|
cursor: "cursor";
|
|
44
45
|
columns: "columns";
|
|
46
|
+
position: "position";
|
|
45
47
|
width: "width";
|
|
46
48
|
height: "height";
|
|
47
49
|
order: "order";
|
|
48
50
|
display: "display";
|
|
49
|
-
position: "position";
|
|
50
51
|
top: "top";
|
|
51
52
|
right: "right";
|
|
52
53
|
bottom: "bottom";
|
|
@@ -138,9 +139,9 @@ export declare const SiteEditStylePropertySchema: z.ZodEnum<{
|
|
|
138
139
|
export type SiteEditStyleProperty = z.infer<typeof SiteEditStylePropertySchema>;
|
|
139
140
|
export declare const SiteEditStyleStateModeSchema: z.ZodEnum<{
|
|
140
141
|
active: "active";
|
|
142
|
+
disabled: "disabled";
|
|
141
143
|
hover: "hover";
|
|
142
144
|
focus: "focus";
|
|
143
|
-
disabled: "disabled";
|
|
144
145
|
}>;
|
|
145
146
|
export type SiteEditStyleStateMode = z.infer<typeof SiteEditStyleStateModeSchema>;
|
|
146
147
|
export declare const SiteEditStyleBreakpointSchema: z.ZodEnum<{
|
|
@@ -423,11 +424,11 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
423
424
|
artifact: z.ZodObject<{
|
|
424
425
|
resource_id: z.ZodString;
|
|
425
426
|
resource_type: z.ZodEnum<{
|
|
426
|
-
page: "page";
|
|
427
427
|
pages: "pages";
|
|
428
|
+
page: "page";
|
|
428
429
|
}>;
|
|
429
|
-
resolved_version: z.
|
|
430
|
-
revision_id: z.ZodString
|
|
430
|
+
resolved_version: z.ZodNumber;
|
|
431
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
431
432
|
digest_sha256: z.ZodString;
|
|
432
433
|
components: z.ZodArray<z.ZodObject<{
|
|
433
434
|
component_id: z.ZodString;
|
|
@@ -479,12 +480,16 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
479
480
|
}, z.core.$strict>>;
|
|
480
481
|
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
481
482
|
}, z.core.$strict>;
|
|
483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
484
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
485
|
+
expectedUrlPath: z.ZodString;
|
|
482
486
|
}, z.core.$strict>], "kind">;
|
|
483
487
|
export type SiteEditOperationParams = z.infer<typeof SiteEditOperationParamsSchema>;
|
|
484
488
|
export declare const SiteEditOperationErrorCodeSchema: z.ZodEnum<{
|
|
485
489
|
VERSION_STALE: "VERSION_STALE";
|
|
486
490
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
487
491
|
NODE_NOT_FOUND: "NODE_NOT_FOUND";
|
|
492
|
+
HOME_PAGE_LOCKED: "HOME_PAGE_LOCKED";
|
|
488
493
|
ROUTE_NOT_FOUND: "ROUTE_NOT_FOUND";
|
|
489
494
|
CAPABILITY_REJECTED: "CAPABILITY_REJECTED";
|
|
490
495
|
CONSTRAINT_VIOLATED: "CONSTRAINT_VIOLATED";
|
|
@@ -518,6 +523,7 @@ export declare const SiteEditOperationErrorSchema: z.ZodObject<{
|
|
|
518
523
|
VERSION_STALE: "VERSION_STALE";
|
|
519
524
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
520
525
|
NODE_NOT_FOUND: "NODE_NOT_FOUND";
|
|
526
|
+
HOME_PAGE_LOCKED: "HOME_PAGE_LOCKED";
|
|
521
527
|
ROUTE_NOT_FOUND: "ROUTE_NOT_FOUND";
|
|
522
528
|
CAPABILITY_REJECTED: "CAPABILITY_REJECTED";
|
|
523
529
|
CONSTRAINT_VIOLATED: "CONSTRAINT_VIOLATED";
|
|
@@ -557,8 +563,8 @@ export declare const SiteEditOperationSelectionRefSchema: z.ZodObject<{
|
|
|
557
563
|
export type SiteEditOperationSelectionRef = z.infer<typeof SiteEditOperationSelectionRefSchema>;
|
|
558
564
|
export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
559
565
|
id: z.ZodString;
|
|
560
|
-
siteId: z.
|
|
561
|
-
baseSnapshotId: z.
|
|
566
|
+
siteId: z.ZodUUID;
|
|
567
|
+
baseSnapshotId: z.ZodUUID;
|
|
562
568
|
routeId: z.ZodOptional<z.ZodString>;
|
|
563
569
|
kind: z.ZodEnum<{
|
|
564
570
|
"insert-child": "insert-child";
|
|
@@ -571,6 +577,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
571
577
|
"apply-style-draft": "apply-style-draft";
|
|
572
578
|
"source-edit": "source-edit";
|
|
573
579
|
"insert-page-resource": "insert-page-resource";
|
|
580
|
+
"delete-page-source": "delete-page-source";
|
|
574
581
|
}>;
|
|
575
582
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
576
583
|
kind: z.ZodLiteral<"node">;
|
|
@@ -813,11 +820,11 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
813
820
|
artifact: z.ZodObject<{
|
|
814
821
|
resource_id: z.ZodString;
|
|
815
822
|
resource_type: z.ZodEnum<{
|
|
816
|
-
page: "page";
|
|
817
823
|
pages: "pages";
|
|
824
|
+
page: "page";
|
|
818
825
|
}>;
|
|
819
|
-
resolved_version: z.
|
|
820
|
-
revision_id: z.ZodString
|
|
826
|
+
resolved_version: z.ZodNumber;
|
|
827
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
821
828
|
digest_sha256: z.ZodString;
|
|
822
829
|
components: z.ZodArray<z.ZodObject<{
|
|
823
830
|
component_id: z.ZodString;
|
|
@@ -869,6 +876,9 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
869
876
|
}, z.core.$strict>>;
|
|
870
877
|
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
871
878
|
}, z.core.$strict>;
|
|
879
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
880
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
881
|
+
expectedUrlPath: z.ZodString;
|
|
872
882
|
}, z.core.$strict>], "kind">;
|
|
873
883
|
}, z.core.$strip>;
|
|
874
884
|
export type SiteEditOperationRequest = z.infer<typeof SiteEditOperationRequestSchema>;
|
|
@@ -879,8 +889,8 @@ export type SiteEditAuthenticatedOperationRequest = SiteEditOperationRequest;
|
|
|
879
889
|
*/
|
|
880
890
|
export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
881
891
|
id: z.ZodString;
|
|
882
|
-
siteId: z.
|
|
883
|
-
baseSnapshotId: z.
|
|
892
|
+
siteId: z.ZodUUID;
|
|
893
|
+
baseSnapshotId: z.ZodUUID;
|
|
884
894
|
routeId: z.ZodOptional<z.ZodString>;
|
|
885
895
|
kind: z.ZodEnum<{
|
|
886
896
|
"insert-child": "insert-child";
|
|
@@ -893,6 +903,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
893
903
|
"apply-style-draft": "apply-style-draft";
|
|
894
904
|
"source-edit": "source-edit";
|
|
895
905
|
"insert-page-resource": "insert-page-resource";
|
|
906
|
+
"delete-page-source": "delete-page-source";
|
|
896
907
|
}>;
|
|
897
908
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
898
909
|
kind: z.ZodLiteral<"node">;
|
|
@@ -1135,11 +1146,11 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1135
1146
|
artifact: z.ZodObject<{
|
|
1136
1147
|
resource_id: z.ZodString;
|
|
1137
1148
|
resource_type: z.ZodEnum<{
|
|
1138
|
-
page: "page";
|
|
1139
1149
|
pages: "pages";
|
|
1150
|
+
page: "page";
|
|
1140
1151
|
}>;
|
|
1141
|
-
resolved_version: z.
|
|
1142
|
-
revision_id: z.ZodString
|
|
1152
|
+
resolved_version: z.ZodNumber;
|
|
1153
|
+
revision_id: z.ZodOptional<z.ZodString>;
|
|
1143
1154
|
digest_sha256: z.ZodString;
|
|
1144
1155
|
components: z.ZodArray<z.ZodObject<{
|
|
1145
1156
|
component_id: z.ZodString;
|
|
@@ -1191,6 +1202,9 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1191
1202
|
}, z.core.$strict>>;
|
|
1192
1203
|
project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
|
|
1193
1204
|
}, z.core.$strict>;
|
|
1205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1206
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
1207
|
+
expectedUrlPath: z.ZodString;
|
|
1194
1208
|
}, z.core.$strict>], "kind">;
|
|
1195
1209
|
}, z.core.$strip>;
|
|
1196
1210
|
export type SiteEditSignedOperationRequest = z.infer<typeof SiteEditSignedOperationRequestSchema>;
|
|
@@ -1205,6 +1219,14 @@ export declare const SiteEditInsertPageResourceOutputSchema: z.ZodObject<{
|
|
|
1205
1219
|
}, z.core.$strict>>;
|
|
1206
1220
|
}, z.core.$strict>;
|
|
1207
1221
|
export type SiteEditInsertPageResourceOutput = z.infer<typeof SiteEditInsertPageResourceOutputSchema>;
|
|
1222
|
+
export declare const SiteEditDeletePageSourceOutputSchema: z.ZodObject<{
|
|
1223
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
1224
|
+
deleted_files: z.ZodArray<z.ZodString>;
|
|
1225
|
+
updated_files: z.ZodArray<z.ZodString>;
|
|
1226
|
+
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1227
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1228
|
+
}, z.core.$strict>;
|
|
1229
|
+
export type SiteEditDeletePageSourceOutput = z.infer<typeof SiteEditDeletePageSourceOutputSchema>;
|
|
1208
1230
|
export declare const SiteEditOperationOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1209
1231
|
kind: z.ZodLiteral<"insert-page-resource">;
|
|
1210
1232
|
package_instance_id: z.ZodString;
|
|
@@ -1214,6 +1236,12 @@ export declare const SiteEditOperationOutputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
1214
1236
|
final_route: z.ZodString;
|
|
1215
1237
|
route_file_path: z.ZodString;
|
|
1216
1238
|
}, z.core.$strict>>;
|
|
1239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1240
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
1241
|
+
deleted_files: z.ZodArray<z.ZodString>;
|
|
1242
|
+
updated_files: z.ZodArray<z.ZodString>;
|
|
1243
|
+
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1244
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1217
1245
|
}, z.core.$strict>], "kind">;
|
|
1218
1246
|
export type SiteEditOperationOutput = z.infer<typeof SiteEditOperationOutputSchema>;
|
|
1219
1247
|
export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
@@ -1229,6 +1257,7 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
|
1229
1257
|
"apply-style-draft": "apply-style-draft";
|
|
1230
1258
|
"source-edit": "source-edit";
|
|
1231
1259
|
"insert-page-resource": "insert-page-resource";
|
|
1260
|
+
"delete-page-source": "delete-page-source";
|
|
1232
1261
|
}>;
|
|
1233
1262
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1234
1263
|
kind: z.ZodLiteral<"node">;
|
|
@@ -1265,6 +1294,12 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
|
1265
1294
|
final_route: z.ZodString;
|
|
1266
1295
|
route_file_path: z.ZodString;
|
|
1267
1296
|
}, z.core.$strict>>;
|
|
1297
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1298
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
1299
|
+
deleted_files: z.ZodArray<z.ZodString>;
|
|
1300
|
+
updated_files: z.ZodArray<z.ZodString>;
|
|
1301
|
+
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1302
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1268
1303
|
}, z.core.$strict>], "kind">>;
|
|
1269
1304
|
}, z.core.$strip>;
|
|
1270
1305
|
export type SiteEditOperationPayload = z.infer<typeof SiteEditOperationPayloadSchema>;
|
|
@@ -1283,6 +1318,7 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
|
|
|
1283
1318
|
"apply-style-draft": "apply-style-draft";
|
|
1284
1319
|
"source-edit": "source-edit";
|
|
1285
1320
|
"insert-page-resource": "insert-page-resource";
|
|
1321
|
+
"delete-page-source": "delete-page-source";
|
|
1286
1322
|
}>;
|
|
1287
1323
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1288
1324
|
kind: z.ZodLiteral<"node">;
|
|
@@ -1319,6 +1355,12 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
|
|
|
1319
1355
|
final_route: z.ZodString;
|
|
1320
1356
|
route_file_path: z.ZodString;
|
|
1321
1357
|
}, z.core.$strict>>;
|
|
1358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1359
|
+
kind: z.ZodLiteral<"delete-page-source">;
|
|
1360
|
+
deleted_files: z.ZodArray<z.ZodString>;
|
|
1361
|
+
updated_files: z.ZodArray<z.ZodString>;
|
|
1362
|
+
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1363
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1322
1364
|
}, z.core.$strict>], "kind">>;
|
|
1323
1365
|
}, z.core.$strip>;
|
|
1324
1366
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -11,8 +11,8 @@ export declare const SiteEditPatchPlanPatchSchema: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
export type SiteEditPatchPlanPatch = z.infer<typeof SiteEditPatchPlanPatchSchema>;
|
|
13
13
|
export declare const SiteEditPatchPlanSchema: z.ZodObject<{
|
|
14
|
-
siteId: z.
|
|
15
|
-
baseSnapshotId: z.
|
|
14
|
+
siteId: z.ZodUUID;
|
|
15
|
+
baseSnapshotId: z.ZodUUID;
|
|
16
16
|
operationId: z.ZodString;
|
|
17
17
|
reason: z.ZodString;
|
|
18
18
|
patches: z.ZodArray<z.ZodObject<{
|
|
@@ -32,8 +32,8 @@ export type SiteEditDynamicTargetKind = z.infer<typeof SiteEditDynamicTargetKind
|
|
|
32
32
|
export declare const SiteEditDynamicConfidenceSchema: z.ZodEnum<{
|
|
33
33
|
unknown: "unknown";
|
|
34
34
|
exact: "exact";
|
|
35
|
-
"safe-derived": "safe-derived";
|
|
36
35
|
partial: "partial";
|
|
36
|
+
"safe-derived": "safe-derived";
|
|
37
37
|
}>;
|
|
38
38
|
export type SiteEditDynamicConfidence = z.infer<typeof SiteEditDynamicConfidenceSchema>;
|
|
39
39
|
export declare const SiteEditDynamicEvidenceSchema: z.ZodObject<{
|
|
@@ -72,8 +72,8 @@ export declare const SiteEditDynamicDataBindingSchema: z.ZodObject<{
|
|
|
72
72
|
confidence: z.ZodEnum<{
|
|
73
73
|
unknown: "unknown";
|
|
74
74
|
exact: "exact";
|
|
75
|
-
"safe-derived": "safe-derived";
|
|
76
75
|
partial: "partial";
|
|
76
|
+
"safe-derived": "safe-derived";
|
|
77
77
|
}>;
|
|
78
78
|
readonly: z.ZodLiteral<true>;
|
|
79
79
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -115,8 +115,8 @@ export declare const SiteEditDynamicDataDetailSchema: z.ZodObject<{
|
|
|
115
115
|
confidence: z.ZodEnum<{
|
|
116
116
|
unknown: "unknown";
|
|
117
117
|
exact: "exact";
|
|
118
|
-
"safe-derived": "safe-derived";
|
|
119
118
|
partial: "partial";
|
|
119
|
+
"safe-derived": "safe-derived";
|
|
120
120
|
}>;
|
|
121
121
|
readonly: z.ZodLiteral<true>;
|
|
122
122
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -170,8 +170,8 @@ export declare const SiteEditRenderEntrySchema: z.ZodObject<{
|
|
|
170
170
|
}, z.core.$strict>;
|
|
171
171
|
export type SiteEditRenderEntry = z.infer<typeof SiteEditRenderEntrySchema>;
|
|
172
172
|
export declare const SiteEditRenderDocumentSchema: z.ZodObject<{
|
|
173
|
-
siteId: z.
|
|
174
|
-
snapshotId: z.
|
|
173
|
+
siteId: z.ZodUUID;
|
|
174
|
+
snapshotId: z.ZodUUID;
|
|
175
175
|
routeId: z.ZodString;
|
|
176
176
|
version: z.ZodNumber;
|
|
177
177
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -430,15 +430,15 @@ export declare const SiteEditProvenanceChainSchema: z.ZodObject<{
|
|
|
430
430
|
confidence: z.ZodEnum<{
|
|
431
431
|
unknown: "unknown";
|
|
432
432
|
exact: "exact";
|
|
433
|
-
"safe-derived": "safe-derived";
|
|
434
433
|
partial: "partial";
|
|
434
|
+
"safe-derived": "safe-derived";
|
|
435
435
|
}>;
|
|
436
436
|
editMode: z.ZodEnum<{
|
|
437
437
|
readonly: "readonly";
|
|
438
|
+
unsupported: "unsupported";
|
|
438
439
|
direct: "direct";
|
|
439
440
|
proxy: "proxy";
|
|
440
441
|
upstream: "upstream";
|
|
441
|
-
unsupported: "unsupported";
|
|
442
442
|
}>;
|
|
443
443
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
444
444
|
code: z.ZodString;
|
|
@@ -454,11 +454,11 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
454
454
|
color: "color";
|
|
455
455
|
cursor: "cursor";
|
|
456
456
|
columns: "columns";
|
|
457
|
+
position: "position";
|
|
457
458
|
width: "width";
|
|
458
459
|
height: "height";
|
|
459
460
|
order: "order";
|
|
460
461
|
display: "display";
|
|
461
|
-
position: "position";
|
|
462
462
|
top: "top";
|
|
463
463
|
right: "right";
|
|
464
464
|
bottom: "bottom";
|
|
@@ -558,9 +558,9 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
558
558
|
}>>;
|
|
559
559
|
state: z.ZodOptional<z.ZodEnum<{
|
|
560
560
|
active: "active";
|
|
561
|
+
disabled: "disabled";
|
|
561
562
|
hover: "hover";
|
|
562
563
|
focus: "focus";
|
|
563
|
-
disabled: "disabled";
|
|
564
564
|
}>>;
|
|
565
565
|
variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
566
566
|
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -580,6 +580,7 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
580
580
|
"apply-style-draft": "apply-style-draft";
|
|
581
581
|
"source-edit": "source-edit";
|
|
582
582
|
"insert-page-resource": "insert-page-resource";
|
|
583
|
+
"delete-page-source": "delete-page-source";
|
|
583
584
|
}>>>;
|
|
584
585
|
}, z.core.$strip>>;
|
|
585
586
|
}, z.core.$strip>]>;
|
|
@@ -605,6 +606,7 @@ export declare const SiteEditStyleSourceSchema: z.ZodObject<{
|
|
|
605
606
|
"apply-style-draft": "apply-style-draft";
|
|
606
607
|
"source-edit": "source-edit";
|
|
607
608
|
"insert-page-resource": "insert-page-resource";
|
|
609
|
+
"delete-page-source": "delete-page-source";
|
|
608
610
|
}>>;
|
|
609
611
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
610
612
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -665,40 +667,40 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
665
667
|
updateText: z.ZodOptional<z.ZodObject<{
|
|
666
668
|
mode: z.ZodEnum<{
|
|
667
669
|
readonly: "readonly";
|
|
670
|
+
unsupported: "unsupported";
|
|
668
671
|
direct: "direct";
|
|
669
672
|
proxy: "proxy";
|
|
670
673
|
upstream: "upstream";
|
|
671
|
-
unsupported: "unsupported";
|
|
672
674
|
}>;
|
|
673
675
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
674
676
|
}, z.core.$strip>>;
|
|
675
677
|
insertChild: z.ZodOptional<z.ZodObject<{
|
|
676
678
|
mode: z.ZodEnum<{
|
|
677
679
|
readonly: "readonly";
|
|
680
|
+
unsupported: "unsupported";
|
|
678
681
|
direct: "direct";
|
|
679
682
|
proxy: "proxy";
|
|
680
683
|
upstream: "upstream";
|
|
681
|
-
unsupported: "unsupported";
|
|
682
684
|
}>;
|
|
683
685
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
684
686
|
}, z.core.$strip>>;
|
|
685
687
|
move: z.ZodOptional<z.ZodObject<{
|
|
686
688
|
mode: z.ZodEnum<{
|
|
687
689
|
readonly: "readonly";
|
|
690
|
+
unsupported: "unsupported";
|
|
688
691
|
direct: "direct";
|
|
689
692
|
proxy: "proxy";
|
|
690
693
|
upstream: "upstream";
|
|
691
|
-
unsupported: "unsupported";
|
|
692
694
|
}>;
|
|
693
695
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
694
696
|
}, z.core.$strip>>;
|
|
695
697
|
remove: z.ZodOptional<z.ZodObject<{
|
|
696
698
|
mode: z.ZodEnum<{
|
|
697
699
|
readonly: "readonly";
|
|
700
|
+
unsupported: "unsupported";
|
|
698
701
|
direct: "direct";
|
|
699
702
|
proxy: "proxy";
|
|
700
703
|
upstream: "upstream";
|
|
701
|
-
unsupported: "unsupported";
|
|
702
704
|
}>;
|
|
703
705
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
704
706
|
}, z.core.$strip>>;
|
|
@@ -799,15 +801,15 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
799
801
|
confidence: z.ZodEnum<{
|
|
800
802
|
unknown: "unknown";
|
|
801
803
|
exact: "exact";
|
|
802
|
-
"safe-derived": "safe-derived";
|
|
803
804
|
partial: "partial";
|
|
805
|
+
"safe-derived": "safe-derived";
|
|
804
806
|
}>;
|
|
805
807
|
editMode: z.ZodEnum<{
|
|
806
808
|
readonly: "readonly";
|
|
809
|
+
unsupported: "unsupported";
|
|
807
810
|
direct: "direct";
|
|
808
811
|
proxy: "proxy";
|
|
809
812
|
upstream: "upstream";
|
|
810
|
-
unsupported: "unsupported";
|
|
811
813
|
}>;
|
|
812
814
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
813
815
|
code: z.ZodString;
|
|
@@ -838,6 +840,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
838
840
|
"apply-style-draft": "apply-style-draft";
|
|
839
841
|
"source-edit": "source-edit";
|
|
840
842
|
"insert-page-resource": "insert-page-resource";
|
|
843
|
+
"delete-page-source": "delete-page-source";
|
|
841
844
|
}>>;
|
|
842
845
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
843
846
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -882,8 +885,8 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
882
885
|
confidence: z.ZodEnum<{
|
|
883
886
|
unknown: "unknown";
|
|
884
887
|
exact: "exact";
|
|
885
|
-
"safe-derived": "safe-derived";
|
|
886
888
|
partial: "partial";
|
|
889
|
+
"safe-derived": "safe-derived";
|
|
887
890
|
}>;
|
|
888
891
|
readonly: z.ZodLiteral<true>;
|
|
889
892
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -970,10 +973,10 @@ export declare const SiteEditObjectSummarySchema: z.ZodObject<{
|
|
|
970
973
|
provenanceChain: z.ZodOptional<z.ZodObject<{
|
|
971
974
|
editMode: z.ZodEnum<{
|
|
972
975
|
readonly: "readonly";
|
|
976
|
+
unsupported: "unsupported";
|
|
973
977
|
direct: "direct";
|
|
974
978
|
proxy: "proxy";
|
|
975
979
|
upstream: "upstream";
|
|
976
|
-
unsupported: "unsupported";
|
|
977
980
|
}>;
|
|
978
981
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
979
982
|
code: z.ZodString;
|
|
@@ -1036,40 +1039,40 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1036
1039
|
updateText: z.ZodOptional<z.ZodObject<{
|
|
1037
1040
|
mode: z.ZodEnum<{
|
|
1038
1041
|
readonly: "readonly";
|
|
1042
|
+
unsupported: "unsupported";
|
|
1039
1043
|
direct: "direct";
|
|
1040
1044
|
proxy: "proxy";
|
|
1041
1045
|
upstream: "upstream";
|
|
1042
|
-
unsupported: "unsupported";
|
|
1043
1046
|
}>;
|
|
1044
1047
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1045
1048
|
}, z.core.$strip>>;
|
|
1046
1049
|
insertChild: z.ZodOptional<z.ZodObject<{
|
|
1047
1050
|
mode: z.ZodEnum<{
|
|
1048
1051
|
readonly: "readonly";
|
|
1052
|
+
unsupported: "unsupported";
|
|
1049
1053
|
direct: "direct";
|
|
1050
1054
|
proxy: "proxy";
|
|
1051
1055
|
upstream: "upstream";
|
|
1052
|
-
unsupported: "unsupported";
|
|
1053
1056
|
}>;
|
|
1054
1057
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1055
1058
|
}, z.core.$strip>>;
|
|
1056
1059
|
move: z.ZodOptional<z.ZodObject<{
|
|
1057
1060
|
mode: z.ZodEnum<{
|
|
1058
1061
|
readonly: "readonly";
|
|
1062
|
+
unsupported: "unsupported";
|
|
1059
1063
|
direct: "direct";
|
|
1060
1064
|
proxy: "proxy";
|
|
1061
1065
|
upstream: "upstream";
|
|
1062
|
-
unsupported: "unsupported";
|
|
1063
1066
|
}>;
|
|
1064
1067
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1065
1068
|
}, z.core.$strip>>;
|
|
1066
1069
|
remove: z.ZodOptional<z.ZodObject<{
|
|
1067
1070
|
mode: z.ZodEnum<{
|
|
1068
1071
|
readonly: "readonly";
|
|
1072
|
+
unsupported: "unsupported";
|
|
1069
1073
|
direct: "direct";
|
|
1070
1074
|
proxy: "proxy";
|
|
1071
1075
|
upstream: "upstream";
|
|
1072
|
-
unsupported: "unsupported";
|
|
1073
1076
|
}>;
|
|
1074
1077
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1075
1078
|
}, z.core.$strip>>;
|
|
@@ -1091,10 +1094,10 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1091
1094
|
provenanceChain: z.ZodOptional<z.ZodObject<{
|
|
1092
1095
|
editMode: z.ZodEnum<{
|
|
1093
1096
|
readonly: "readonly";
|
|
1097
|
+
unsupported: "unsupported";
|
|
1094
1098
|
direct: "direct";
|
|
1095
1099
|
proxy: "proxy";
|
|
1096
1100
|
upstream: "upstream";
|
|
1097
|
-
unsupported: "unsupported";
|
|
1098
1101
|
}>;
|
|
1099
1102
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
1100
1103
|
code: z.ZodString;
|
|
@@ -1143,8 +1146,8 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1143
1146
|
confidence: z.ZodEnum<{
|
|
1144
1147
|
unknown: "unknown";
|
|
1145
1148
|
exact: "exact";
|
|
1146
|
-
"safe-derived": "safe-derived";
|
|
1147
1149
|
partial: "partial";
|
|
1150
|
+
"safe-derived": "safe-derived";
|
|
1148
1151
|
}>;
|
|
1149
1152
|
readonly: z.ZodLiteral<true>;
|
|
1150
1153
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -1187,6 +1190,7 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
|
1187
1190
|
"apply-style-draft": "apply-style-draft";
|
|
1188
1191
|
"source-edit": "source-edit";
|
|
1189
1192
|
"insert-page-resource": "insert-page-resource";
|
|
1193
|
+
"delete-page-source": "delete-page-source";
|
|
1190
1194
|
}>>;
|
|
1191
1195
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1192
1196
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -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.6.
|
|
8
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.6.10";
|
|
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";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SitePreviewActivateErrorCodeSchema: z.ZodEnum<{
|
|
3
|
+
PREVIEW_SESSION_NOT_FOUND: "PREVIEW_SESSION_NOT_FOUND";
|
|
4
|
+
PREVIEW_SESSION_INVALID: "PREVIEW_SESSION_INVALID";
|
|
5
|
+
PREVIEW_SESSION_LOOKUP_FAILED: "PREVIEW_SESSION_LOOKUP_FAILED";
|
|
6
|
+
PREVIEW_SANDBOX_NOT_FOUND: "PREVIEW_SANDBOX_NOT_FOUND";
|
|
7
|
+
PREVIEW_SANDBOX_CONNECT_FAILED: "PREVIEW_SANDBOX_CONNECT_FAILED";
|
|
8
|
+
PREVIEW_SERVER_START_FAILED: "PREVIEW_SERVER_START_FAILED";
|
|
9
|
+
PREVIEW_HEALTH_CHECK_FAILED: "PREVIEW_HEALTH_CHECK_FAILED";
|
|
10
|
+
SANDBOX_NOT_CONFIGURED: "SANDBOX_NOT_CONFIGURED";
|
|
11
|
+
}>;
|
|
12
|
+
export type SitePreviewActivateErrorCode = z.infer<typeof SitePreviewActivateErrorCodeSchema>;
|
|
13
|
+
export declare const SitePreviewActivateReadySchema: z.ZodObject<{
|
|
14
|
+
status: z.ZodLiteral<"ready">;
|
|
15
|
+
preview_url: z.ZodString;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export declare const SitePreviewActivateFailedSchema: z.ZodObject<{
|
|
18
|
+
status: z.ZodLiteral<"failed">;
|
|
19
|
+
code: z.ZodEnum<{
|
|
20
|
+
PREVIEW_SESSION_NOT_FOUND: "PREVIEW_SESSION_NOT_FOUND";
|
|
21
|
+
PREVIEW_SESSION_INVALID: "PREVIEW_SESSION_INVALID";
|
|
22
|
+
PREVIEW_SESSION_LOOKUP_FAILED: "PREVIEW_SESSION_LOOKUP_FAILED";
|
|
23
|
+
PREVIEW_SANDBOX_NOT_FOUND: "PREVIEW_SANDBOX_NOT_FOUND";
|
|
24
|
+
PREVIEW_SANDBOX_CONNECT_FAILED: "PREVIEW_SANDBOX_CONNECT_FAILED";
|
|
25
|
+
PREVIEW_SERVER_START_FAILED: "PREVIEW_SERVER_START_FAILED";
|
|
26
|
+
PREVIEW_HEALTH_CHECK_FAILED: "PREVIEW_HEALTH_CHECK_FAILED";
|
|
27
|
+
SANDBOX_NOT_CONFIGURED: "SANDBOX_NOT_CONFIGURED";
|
|
28
|
+
}>;
|
|
29
|
+
message: z.ZodString;
|
|
30
|
+
retryable: z.ZodBoolean;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export declare const SitePreviewActivateResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
33
|
+
status: z.ZodLiteral<"ready">;
|
|
34
|
+
preview_url: z.ZodString;
|
|
35
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36
|
+
status: z.ZodLiteral<"failed">;
|
|
37
|
+
code: z.ZodEnum<{
|
|
38
|
+
PREVIEW_SESSION_NOT_FOUND: "PREVIEW_SESSION_NOT_FOUND";
|
|
39
|
+
PREVIEW_SESSION_INVALID: "PREVIEW_SESSION_INVALID";
|
|
40
|
+
PREVIEW_SESSION_LOOKUP_FAILED: "PREVIEW_SESSION_LOOKUP_FAILED";
|
|
41
|
+
PREVIEW_SANDBOX_NOT_FOUND: "PREVIEW_SANDBOX_NOT_FOUND";
|
|
42
|
+
PREVIEW_SANDBOX_CONNECT_FAILED: "PREVIEW_SANDBOX_CONNECT_FAILED";
|
|
43
|
+
PREVIEW_SERVER_START_FAILED: "PREVIEW_SERVER_START_FAILED";
|
|
44
|
+
PREVIEW_HEALTH_CHECK_FAILED: "PREVIEW_HEALTH_CHECK_FAILED";
|
|
45
|
+
SANDBOX_NOT_CONFIGURED: "SANDBOX_NOT_CONFIGURED";
|
|
46
|
+
}>;
|
|
47
|
+
message: z.ZodString;
|
|
48
|
+
retryable: z.ZodBoolean;
|
|
49
|
+
}, z.core.$strict>], "status">;
|
|
50
|
+
export type SitePreviewActivateResponse = z.infer<typeof SitePreviewActivateResponseSchema>;
|