@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
|
@@ -66,13 +66,20 @@ export declare const SiteEditPagePlacementSchema: z.ZodObject<{
|
|
|
66
66
|
kind: z.ZodLiteral<"page-composition">;
|
|
67
67
|
placementKey: z.ZodString;
|
|
68
68
|
documentVersion: z.ZodNumber;
|
|
69
|
+
composition: z.ZodObject<{
|
|
70
|
+
routeId: z.ZodString;
|
|
71
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
72
|
+
}, z.core.$strict>;
|
|
69
73
|
}, z.core.$strict>;
|
|
70
74
|
export type SiteEditPagePlacement = z.infer<typeof SiteEditPagePlacementSchema>;
|
|
71
75
|
export declare const SiteEditPagePlacementOptionSchema: z.ZodObject<{
|
|
72
76
|
kind: z.ZodLiteral<"page-composition">;
|
|
73
77
|
placementKey: z.ZodString;
|
|
74
78
|
documentVersion: z.ZodNumber;
|
|
75
|
-
|
|
79
|
+
composition: z.ZodObject<{
|
|
80
|
+
routeId: z.ZodString;
|
|
81
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, z.core.$strict>;
|
|
76
83
|
placementUnitKey: z.ZodString;
|
|
77
84
|
relation: z.ZodEnum<{
|
|
78
85
|
before: "before";
|
|
@@ -86,7 +93,10 @@ export declare const SiteEditPageCompositionPlacementTargetSchema: z.ZodObject<{
|
|
|
86
93
|
kind: z.ZodLiteral<"page-composition">;
|
|
87
94
|
placementKey: z.ZodString;
|
|
88
95
|
documentVersion: z.ZodNumber;
|
|
89
|
-
|
|
96
|
+
composition: z.ZodObject<{
|
|
97
|
+
routeId: z.ZodString;
|
|
98
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strict>;
|
|
90
100
|
placementUnitKey: z.ZodString;
|
|
91
101
|
relation: z.ZodEnum<{
|
|
92
102
|
before: "before";
|
|
@@ -98,14 +108,29 @@ export declare const SiteEditPageCompositionPlacementTargetSchema: z.ZodObject<{
|
|
|
98
108
|
export type SiteEditPageCompositionPlacementTarget = z.infer<typeof SiteEditPageCompositionPlacementTargetSchema>;
|
|
99
109
|
export declare const SiteEditPageUnitTargetSchema: z.ZodObject<{
|
|
100
110
|
kind: z.ZodLiteral<"page-unit">;
|
|
101
|
-
|
|
111
|
+
composition: z.ZodObject<{
|
|
112
|
+
routeId: z.ZodString;
|
|
113
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>;
|
|
102
115
|
placementUnitKey: z.ZodString;
|
|
103
116
|
}, z.core.$strict>;
|
|
104
117
|
export type SiteEditPageUnitTarget = z.infer<typeof SiteEditPageUnitTargetSchema>;
|
|
118
|
+
export declare const SiteEditPageUnitResultTargetSchema: z.ZodObject<{
|
|
119
|
+
kind: z.ZodLiteral<"page-unit">;
|
|
120
|
+
composition: z.ZodObject<{
|
|
121
|
+
routeId: z.ZodString;
|
|
122
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
placementUnitKey: z.ZodString;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
export type SiteEditPageUnitResultTarget = z.infer<typeof SiteEditPageUnitResultTargetSchema>;
|
|
105
127
|
export declare const SiteEditPageCompositionSupportedSchema: z.ZodObject<{
|
|
106
128
|
status: z.ZodLiteral<"supported">;
|
|
107
129
|
version: z.ZodNumber;
|
|
108
|
-
|
|
130
|
+
composition: z.ZodObject<{
|
|
131
|
+
routeId: z.ZodString;
|
|
132
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strict>;
|
|
109
134
|
container: z.ZodUnion<readonly [z.ZodObject<{
|
|
110
135
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
111
136
|
key: z.ZodString;
|
|
@@ -151,7 +176,10 @@ export declare const SiteEditPageCompositionSupportedSchema: z.ZodObject<{
|
|
|
151
176
|
kind: z.ZodLiteral<"page-composition">;
|
|
152
177
|
placementKey: z.ZodString;
|
|
153
178
|
documentVersion: z.ZodNumber;
|
|
154
|
-
|
|
179
|
+
composition: z.ZodObject<{
|
|
180
|
+
routeId: z.ZodString;
|
|
181
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strict>;
|
|
155
183
|
placementUnitKey: z.ZodString;
|
|
156
184
|
relation: z.ZodEnum<{
|
|
157
185
|
before: "before";
|
|
@@ -165,7 +193,10 @@ export type SiteEditPageCompositionSupported = z.infer<typeof SiteEditPageCompos
|
|
|
165
193
|
export declare const SiteEditPageCompositionUnsupportedSchema: z.ZodObject<{
|
|
166
194
|
status: z.ZodLiteral<"unsupported">;
|
|
167
195
|
version: z.ZodNumber;
|
|
168
|
-
|
|
196
|
+
composition: z.ZodObject<{
|
|
197
|
+
routeId: z.ZodString;
|
|
198
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strict>;
|
|
169
200
|
reason: z.ZodEnum<{
|
|
170
201
|
VERSION_STALE: "VERSION_STALE";
|
|
171
202
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -187,7 +218,10 @@ export type SiteEditPageCompositionUnsupported = z.infer<typeof SiteEditPageComp
|
|
|
187
218
|
export declare const SiteEditPageCompositionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
219
|
status: z.ZodLiteral<"supported">;
|
|
189
220
|
version: z.ZodNumber;
|
|
190
|
-
|
|
221
|
+
composition: z.ZodObject<{
|
|
222
|
+
routeId: z.ZodString;
|
|
223
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
224
|
+
}, z.core.$strict>;
|
|
191
225
|
container: z.ZodUnion<readonly [z.ZodObject<{
|
|
192
226
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
193
227
|
key: z.ZodString;
|
|
@@ -233,7 +267,10 @@ export declare const SiteEditPageCompositionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
233
267
|
kind: z.ZodLiteral<"page-composition">;
|
|
234
268
|
placementKey: z.ZodString;
|
|
235
269
|
documentVersion: z.ZodNumber;
|
|
236
|
-
|
|
270
|
+
composition: z.ZodObject<{
|
|
271
|
+
routeId: z.ZodString;
|
|
272
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strict>;
|
|
237
274
|
placementUnitKey: z.ZodString;
|
|
238
275
|
relation: z.ZodEnum<{
|
|
239
276
|
before: "before";
|
|
@@ -245,7 +282,10 @@ export declare const SiteEditPageCompositionSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
245
282
|
}, z.core.$strict>, z.ZodObject<{
|
|
246
283
|
status: z.ZodLiteral<"unsupported">;
|
|
247
284
|
version: z.ZodNumber;
|
|
248
|
-
|
|
285
|
+
composition: z.ZodObject<{
|
|
286
|
+
routeId: z.ZodString;
|
|
287
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strict>;
|
|
249
289
|
reason: z.ZodEnum<{
|
|
250
290
|
VERSION_STALE: "VERSION_STALE";
|
|
251
291
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -413,7 +453,10 @@ export declare const SiteEditPageCompositionV2PlacementSchema: z.ZodObject<{
|
|
|
413
453
|
kind: z.ZodLiteral<"page-composition">;
|
|
414
454
|
placementKey: z.ZodString;
|
|
415
455
|
documentVersion: z.ZodNumber;
|
|
416
|
-
|
|
456
|
+
composition: z.ZodObject<{
|
|
457
|
+
routeId: z.ZodString;
|
|
458
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
459
|
+
}, z.core.$strict>;
|
|
417
460
|
placementUnitKey: z.ZodString;
|
|
418
461
|
containerKey: z.ZodNullable<z.ZodString>;
|
|
419
462
|
relation: z.ZodEnum<{
|
|
@@ -445,7 +488,10 @@ export declare const SiteEditPageCompositionV2SupportedSchema: z.ZodObject<{
|
|
|
445
488
|
schemaVersion: z.ZodLiteral<2>;
|
|
446
489
|
status: z.ZodLiteral<"supported">;
|
|
447
490
|
version: z.ZodNumber;
|
|
448
|
-
|
|
491
|
+
composition: z.ZodObject<{
|
|
492
|
+
routeId: z.ZodString;
|
|
493
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
494
|
+
}, z.core.$strict>;
|
|
449
495
|
container: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
450
496
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
451
497
|
key: z.ZodNull;
|
|
@@ -536,7 +582,10 @@ export declare const SiteEditPageCompositionV2SupportedSchema: z.ZodObject<{
|
|
|
536
582
|
kind: z.ZodLiteral<"page-composition">;
|
|
537
583
|
placementKey: z.ZodString;
|
|
538
584
|
documentVersion: z.ZodNumber;
|
|
539
|
-
|
|
585
|
+
composition: z.ZodObject<{
|
|
586
|
+
routeId: z.ZodString;
|
|
587
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
588
|
+
}, z.core.$strict>;
|
|
540
589
|
placementUnitKey: z.ZodString;
|
|
541
590
|
containerKey: z.ZodNullable<z.ZodString>;
|
|
542
591
|
relation: z.ZodEnum<{
|
|
@@ -572,7 +621,10 @@ export declare const SiteEditPageCompositionV2UnsupportedSchema: z.ZodObject<{
|
|
|
572
621
|
schemaVersion: z.ZodLiteral<2>;
|
|
573
622
|
status: z.ZodLiteral<"unsupported">;
|
|
574
623
|
version: z.ZodNumber;
|
|
575
|
-
|
|
624
|
+
composition: z.ZodObject<{
|
|
625
|
+
routeId: z.ZodString;
|
|
626
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strict>;
|
|
576
628
|
reason: z.ZodEnum<{
|
|
577
629
|
VERSION_STALE: "VERSION_STALE";
|
|
578
630
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -595,7 +647,10 @@ export declare const SiteEditPageCompositionV2Schema: z.ZodDiscriminatedUnion<[z
|
|
|
595
647
|
schemaVersion: z.ZodLiteral<2>;
|
|
596
648
|
status: z.ZodLiteral<"supported">;
|
|
597
649
|
version: z.ZodNumber;
|
|
598
|
-
|
|
650
|
+
composition: z.ZodObject<{
|
|
651
|
+
routeId: z.ZodString;
|
|
652
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
653
|
+
}, z.core.$strict>;
|
|
599
654
|
container: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
600
655
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
601
656
|
key: z.ZodNull;
|
|
@@ -686,7 +741,10 @@ export declare const SiteEditPageCompositionV2Schema: z.ZodDiscriminatedUnion<[z
|
|
|
686
741
|
kind: z.ZodLiteral<"page-composition">;
|
|
687
742
|
placementKey: z.ZodString;
|
|
688
743
|
documentVersion: z.ZodNumber;
|
|
689
|
-
|
|
744
|
+
composition: z.ZodObject<{
|
|
745
|
+
routeId: z.ZodString;
|
|
746
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, z.core.$strict>;
|
|
690
748
|
placementUnitKey: z.ZodString;
|
|
691
749
|
containerKey: z.ZodNullable<z.ZodString>;
|
|
692
750
|
relation: z.ZodEnum<{
|
|
@@ -720,7 +778,10 @@ export declare const SiteEditPageCompositionV2Schema: z.ZodDiscriminatedUnion<[z
|
|
|
720
778
|
schemaVersion: z.ZodLiteral<2>;
|
|
721
779
|
status: z.ZodLiteral<"unsupported">;
|
|
722
780
|
version: z.ZodNumber;
|
|
723
|
-
|
|
781
|
+
composition: z.ZodObject<{
|
|
782
|
+
routeId: z.ZodString;
|
|
783
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
784
|
+
}, z.core.$strict>;
|
|
724
785
|
reason: z.ZodEnum<{
|
|
725
786
|
VERSION_STALE: "VERSION_STALE";
|
|
726
787
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -747,7 +808,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
747
808
|
schemaVersion: z.ZodLiteral<2>;
|
|
748
809
|
status: z.ZodLiteral<"supported">;
|
|
749
810
|
version: z.ZodNumber;
|
|
750
|
-
|
|
811
|
+
composition: z.ZodObject<{
|
|
812
|
+
routeId: z.ZodString;
|
|
813
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
814
|
+
}, z.core.$strict>;
|
|
751
815
|
container: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
752
816
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
753
817
|
key: z.ZodNull;
|
|
@@ -838,7 +902,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
838
902
|
kind: z.ZodLiteral<"page-composition">;
|
|
839
903
|
placementKey: z.ZodString;
|
|
840
904
|
documentVersion: z.ZodNumber;
|
|
841
|
-
|
|
905
|
+
composition: z.ZodObject<{
|
|
906
|
+
routeId: z.ZodString;
|
|
907
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
908
|
+
}, z.core.$strict>;
|
|
842
909
|
placementUnitKey: z.ZodString;
|
|
843
910
|
containerKey: z.ZodNullable<z.ZodString>;
|
|
844
911
|
relation: z.ZodEnum<{
|
|
@@ -872,7 +939,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
872
939
|
schemaVersion: z.ZodLiteral<2>;
|
|
873
940
|
status: z.ZodLiteral<"unsupported">;
|
|
874
941
|
version: z.ZodNumber;
|
|
875
|
-
|
|
942
|
+
composition: z.ZodObject<{
|
|
943
|
+
routeId: z.ZodString;
|
|
944
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
945
|
+
}, z.core.$strict>;
|
|
876
946
|
reason: z.ZodEnum<{
|
|
877
947
|
VERSION_STALE: "VERSION_STALE";
|
|
878
948
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -892,7 +962,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
892
962
|
}, z.core.$strict>], "status">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
893
963
|
status: z.ZodLiteral<"supported">;
|
|
894
964
|
version: z.ZodNumber;
|
|
895
|
-
|
|
965
|
+
composition: z.ZodObject<{
|
|
966
|
+
routeId: z.ZodString;
|
|
967
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
968
|
+
}, z.core.$strict>;
|
|
896
969
|
container: z.ZodUnion<readonly [z.ZodObject<{
|
|
897
970
|
kind: z.ZodLiteral<"virtual-route-root">;
|
|
898
971
|
key: z.ZodString;
|
|
@@ -938,7 +1011,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
938
1011
|
kind: z.ZodLiteral<"page-composition">;
|
|
939
1012
|
placementKey: z.ZodString;
|
|
940
1013
|
documentVersion: z.ZodNumber;
|
|
941
|
-
|
|
1014
|
+
composition: z.ZodObject<{
|
|
1015
|
+
routeId: z.ZodString;
|
|
1016
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
}, z.core.$strict>;
|
|
942
1018
|
placementUnitKey: z.ZodString;
|
|
943
1019
|
relation: z.ZodEnum<{
|
|
944
1020
|
before: "before";
|
|
@@ -950,7 +1026,10 @@ export declare const SiteEditPageCompositionAnyVersionSchema: z.ZodUnion<readonl
|
|
|
950
1026
|
}, z.core.$strict>, z.ZodObject<{
|
|
951
1027
|
status: z.ZodLiteral<"unsupported">;
|
|
952
1028
|
version: z.ZodNumber;
|
|
953
|
-
|
|
1029
|
+
composition: z.ZodObject<{
|
|
1030
|
+
routeId: z.ZodString;
|
|
1031
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
}, z.core.$strict>;
|
|
954
1033
|
reason: z.ZodEnum<{
|
|
955
1034
|
VERSION_STALE: "VERSION_STALE";
|
|
956
1035
|
RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
|
|
@@ -10,7 +10,7 @@ export declare const SiteEditPatchPlanPatchSchema: z.ZodObject<{
|
|
|
10
10
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
export type SiteEditPatchPlanPatch = z.infer<typeof SiteEditPatchPlanPatchSchema>;
|
|
13
|
-
export declare const SiteEditPatchPlanSchema: z.ZodObject<{
|
|
13
|
+
export declare const SiteEditPatchPlanSchema: z.ZodPipe<z.ZodObject<{
|
|
14
14
|
siteId: z.ZodUUID;
|
|
15
15
|
baseSnapshotId: z.ZodUUID;
|
|
16
16
|
operationId: z.ZodString;
|
|
@@ -25,11 +25,57 @@ export declare const SiteEditPatchPlanSchema: z.ZodObject<{
|
|
|
25
25
|
expectedHash: z.ZodOptional<z.ZodString>;
|
|
26
26
|
fullContent: z.ZodOptional<z.ZodString>;
|
|
27
27
|
}, z.core.$strip>>;
|
|
28
|
-
|
|
28
|
+
changedCompositions: z.ZodArray<z.ZodObject<{
|
|
29
|
+
routeId: z.ZodString;
|
|
30
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
changedRouteIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
33
|
diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
34
|
code: z.ZodString;
|
|
31
35
|
message: z.ZodString;
|
|
32
36
|
path: z.ZodOptional<z.ZodString>;
|
|
33
37
|
}, z.core.$strip>>>;
|
|
34
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
39
|
+
changedRouteIds: string[];
|
|
40
|
+
siteId: string;
|
|
41
|
+
baseSnapshotId: string;
|
|
42
|
+
operationId: string;
|
|
43
|
+
reason: string;
|
|
44
|
+
patches: {
|
|
45
|
+
path: string;
|
|
46
|
+
operation: "delete" | "create" | "update";
|
|
47
|
+
expectedHash?: string | undefined;
|
|
48
|
+
fullContent?: string | undefined;
|
|
49
|
+
}[];
|
|
50
|
+
changedCompositions: {
|
|
51
|
+
routeId: string;
|
|
52
|
+
effectiveTemplateId?: string | undefined;
|
|
53
|
+
}[];
|
|
54
|
+
diagnostics: {
|
|
55
|
+
code: string;
|
|
56
|
+
message: string;
|
|
57
|
+
path?: string | undefined;
|
|
58
|
+
}[];
|
|
59
|
+
}, {
|
|
60
|
+
siteId: string;
|
|
61
|
+
baseSnapshotId: string;
|
|
62
|
+
operationId: string;
|
|
63
|
+
reason: string;
|
|
64
|
+
patches: {
|
|
65
|
+
path: string;
|
|
66
|
+
operation: "delete" | "create" | "update";
|
|
67
|
+
expectedHash?: string | undefined;
|
|
68
|
+
fullContent?: string | undefined;
|
|
69
|
+
}[];
|
|
70
|
+
changedCompositions: {
|
|
71
|
+
routeId: string;
|
|
72
|
+
effectiveTemplateId?: string | undefined;
|
|
73
|
+
}[];
|
|
74
|
+
diagnostics: {
|
|
75
|
+
code: string;
|
|
76
|
+
message: string;
|
|
77
|
+
path?: string | undefined;
|
|
78
|
+
}[];
|
|
79
|
+
changedRouteIds?: string[] | undefined;
|
|
80
|
+
}>>;
|
|
35
81
|
export type SiteEditPatchPlan = z.infer<typeof SiteEditPatchPlanSchema>;
|
|
@@ -169,10 +169,28 @@ export declare const SiteEditRenderEntrySchema: z.ZodObject<{
|
|
|
169
169
|
}, z.core.$strip>>;
|
|
170
170
|
}, z.core.$strict>;
|
|
171
171
|
export type SiteEditRenderEntry = z.infer<typeof SiteEditRenderEntrySchema>;
|
|
172
|
+
export declare const SiteEditGetDocumentInputSchema: z.ZodObject<{
|
|
173
|
+
composition: z.ZodObject<{
|
|
174
|
+
routeId: z.ZodString;
|
|
175
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
export type SiteEditGetDocumentInput = z.infer<typeof SiteEditGetDocumentInputSchema>;
|
|
179
|
+
export declare const SiteEditGetObjectEditContextInputSchema: z.ZodObject<{
|
|
180
|
+
key: z.ZodString;
|
|
181
|
+
composition: z.ZodObject<{
|
|
182
|
+
routeId: z.ZodString;
|
|
183
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
184
|
+
}, z.core.$strict>;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
export type SiteEditGetObjectEditContextInput = z.infer<typeof SiteEditGetObjectEditContextInputSchema>;
|
|
172
187
|
export declare const SiteEditRenderDocumentSchema: z.ZodObject<{
|
|
173
188
|
siteId: z.ZodUUID;
|
|
174
189
|
snapshotId: z.ZodUUID;
|
|
175
|
-
|
|
190
|
+
composition: z.ZodObject<{
|
|
191
|
+
routeId: z.ZodString;
|
|
192
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>;
|
|
176
194
|
version: z.ZodNumber;
|
|
177
195
|
entries: z.ZodArray<z.ZodObject<{
|
|
178
196
|
key: z.ZodString;
|
|
@@ -280,6 +298,10 @@ export declare const SiteEditRenderEntryRefSchema: z.ZodObject<{
|
|
|
280
298
|
}, z.core.$strip>;
|
|
281
299
|
export type SiteEditRenderEntryRef = z.infer<typeof SiteEditRenderEntryRefSchema>;
|
|
282
300
|
export declare const SiteEditObjectCapabilitiesSchema: z.ZodObject<{
|
|
301
|
+
composition: z.ZodObject<{
|
|
302
|
+
routeId: z.ZodString;
|
|
303
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
304
|
+
}, z.core.$strict>;
|
|
283
305
|
key: z.ZodString;
|
|
284
306
|
canUpdateText: z.ZodBoolean;
|
|
285
307
|
canInsertChild: z.ZodBoolean;
|
|
@@ -293,7 +315,7 @@ export declare const SiteEditObjectCapabilitiesSchema: z.ZodObject<{
|
|
|
293
315
|
"opaque-region": "opaque-region";
|
|
294
316
|
}>>;
|
|
295
317
|
isOpaque: z.ZodBoolean;
|
|
296
|
-
}, z.core.$
|
|
318
|
+
}, z.core.$strict>;
|
|
297
319
|
export type SiteEditObjectCapabilities = z.infer<typeof SiteEditObjectCapabilitiesSchema>;
|
|
298
320
|
export declare const SiteEditWriteTargetSchema: z.ZodObject<{
|
|
299
321
|
kind: z.ZodEnum<{
|
|
@@ -640,6 +662,10 @@ export declare const SiteEditSourceLocatorSchema: z.ZodObject<{
|
|
|
640
662
|
}, z.core.$strip>;
|
|
641
663
|
export type SiteEditSourceLocator = z.infer<typeof SiteEditSourceLocatorSchema>;
|
|
642
664
|
export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
665
|
+
composition: z.ZodObject<{
|
|
666
|
+
routeId: z.ZodString;
|
|
667
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
668
|
+
}, z.core.$strict>;
|
|
643
669
|
key: z.ZodString;
|
|
644
670
|
tag: z.ZodString;
|
|
645
671
|
componentName: z.ZodString;
|
|
@@ -658,6 +684,10 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
658
684
|
}, z.core.$strip>>;
|
|
659
685
|
label: z.ZodString;
|
|
660
686
|
capabilities: z.ZodObject<{
|
|
687
|
+
composition: z.ZodObject<{
|
|
688
|
+
routeId: z.ZodString;
|
|
689
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
690
|
+
}, z.core.$strict>;
|
|
661
691
|
key: z.ZodString;
|
|
662
692
|
canUpdateText: z.ZodBoolean;
|
|
663
693
|
canInsertChild: z.ZodBoolean;
|
|
@@ -718,7 +748,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
718
748
|
}>;
|
|
719
749
|
message: z.ZodString;
|
|
720
750
|
}, z.core.$strip>>;
|
|
721
|
-
}, z.core.$
|
|
751
|
+
}, z.core.$strict>;
|
|
722
752
|
writeTarget: z.ZodObject<{
|
|
723
753
|
kind: z.ZodEnum<{
|
|
724
754
|
"jsx-node": "jsx-node";
|
|
@@ -936,9 +966,13 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
936
966
|
label: z.ZodString;
|
|
937
967
|
tag: z.ZodString;
|
|
938
968
|
}, z.core.$strip>>;
|
|
939
|
-
}, z.core.$
|
|
969
|
+
}, z.core.$strict>;
|
|
940
970
|
export type SiteEditObjectDetail = z.infer<typeof SiteEditObjectDetailSchema>;
|
|
941
971
|
export declare const SiteEditObjectSummarySchema: z.ZodObject<{
|
|
972
|
+
composition: z.ZodObject<{
|
|
973
|
+
routeId: z.ZodString;
|
|
974
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
975
|
+
}, z.core.$strict>;
|
|
942
976
|
key: z.ZodString;
|
|
943
977
|
tag: z.ZodString;
|
|
944
978
|
label: z.ZodString;
|
|
@@ -1003,9 +1037,13 @@ export declare const SiteEditObjectSummarySchema: z.ZodObject<{
|
|
|
1003
1037
|
label: z.ZodString;
|
|
1004
1038
|
tag: z.ZodString;
|
|
1005
1039
|
}, z.core.$strip>>;
|
|
1006
|
-
}, z.core.$
|
|
1040
|
+
}, z.core.$strict>;
|
|
1007
1041
|
export type SiteEditObjectSummary = z.infer<typeof SiteEditObjectSummarySchema>;
|
|
1008
1042
|
export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
1043
|
+
composition: z.ZodObject<{
|
|
1044
|
+
routeId: z.ZodString;
|
|
1045
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
}, z.core.$strict>;
|
|
1009
1047
|
key: z.ZodString;
|
|
1010
1048
|
tag: z.ZodString;
|
|
1011
1049
|
label: z.ZodString;
|
|
@@ -1030,6 +1068,10 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1030
1068
|
componentName: z.ZodString;
|
|
1031
1069
|
sourceFile: z.ZodString;
|
|
1032
1070
|
capabilities: z.ZodObject<{
|
|
1071
|
+
composition: z.ZodObject<{
|
|
1072
|
+
routeId: z.ZodString;
|
|
1073
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, z.core.$strict>;
|
|
1033
1075
|
key: z.ZodString;
|
|
1034
1076
|
canUpdateText: z.ZodBoolean;
|
|
1035
1077
|
canInsertChild: z.ZodBoolean;
|
|
@@ -1090,7 +1132,7 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1090
1132
|
}>;
|
|
1091
1133
|
message: z.ZodString;
|
|
1092
1134
|
}, z.core.$strip>>;
|
|
1093
|
-
}, z.core.$
|
|
1135
|
+
}, z.core.$strict>;
|
|
1094
1136
|
provenanceChain: z.ZodOptional<z.ZodObject<{
|
|
1095
1137
|
editMode: z.ZodEnum<{
|
|
1096
1138
|
readonly: "readonly";
|
|
@@ -1164,9 +1206,13 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1164
1206
|
"fragment-region": "fragment-region";
|
|
1165
1207
|
"opaque-region": "opaque-region";
|
|
1166
1208
|
}>>;
|
|
1167
|
-
}, z.core.$
|
|
1209
|
+
}, z.core.$strict>;
|
|
1168
1210
|
export type SiteEditObjectEditContext = z.infer<typeof SiteEditObjectEditContextSchema>;
|
|
1169
1211
|
export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
1212
|
+
composition: z.ZodObject<{
|
|
1213
|
+
routeId: z.ZodString;
|
|
1214
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
}, z.core.$strict>;
|
|
1170
1216
|
key: z.ZodString;
|
|
1171
1217
|
mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1172
1218
|
styleSource: z.ZodOptional<z.ZodObject<{
|
|
@@ -1202,5 +1248,5 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
|
1202
1248
|
message: z.ZodString;
|
|
1203
1249
|
}, z.core.$strip>>>;
|
|
1204
1250
|
}, z.core.$strip>>;
|
|
1205
|
-
}, z.core.$
|
|
1251
|
+
}, z.core.$strict>;
|
|
1206
1252
|
export type SiteEditObjectStyleDetail = z.infer<typeof SiteEditObjectStyleDetailSchema>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
|
-
* Activates one
|
|
3
|
+
* Activates one composition before returning its first coherent document/history
|
|
4
4
|
* view. mutationContext is accepted only for compatibility and ignored.
|
|
5
5
|
*/
|
|
6
6
|
export declare const SiteEditInitializeSessionInputSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
composition: z.ZodObject<{
|
|
8
|
+
routeId: z.ZodString;
|
|
9
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strict>;
|
|
8
11
|
mutationContext: z.ZodOptional<z.ZodObject<{
|
|
9
12
|
editingSessionId: z.ZodString;
|
|
10
13
|
lockId: z.ZodString;
|
|
@@ -17,13 +17,21 @@ export declare const SiteEditSourceFileKindSchema: z.ZodEnum<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export type SiteEditSourceFileKind = z.infer<typeof SiteEditSourceFileKindSchema>;
|
|
19
19
|
export declare const SiteEditSourceFileListItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20
|
+
composition: z.ZodObject<{
|
|
21
|
+
routeId: z.ZodString;
|
|
22
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strict>;
|
|
20
24
|
path: z.ZodString;
|
|
21
25
|
sizeBytes: z.ZodNumber;
|
|
22
26
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
23
27
|
kind: z.ZodLiteral<"text">;
|
|
24
28
|
language: z.ZodString;
|
|
25
29
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
26
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
+
composition: z.ZodObject<{
|
|
32
|
+
routeId: z.ZodString;
|
|
33
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>;
|
|
27
35
|
path: z.ZodString;
|
|
28
36
|
sizeBytes: z.ZodNumber;
|
|
29
37
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -31,7 +39,7 @@ export declare const SiteEditSourceFileListItemSchema: z.ZodDiscriminatedUnion<[
|
|
|
31
39
|
language: z.ZodNull;
|
|
32
40
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
33
41
|
readonly: z.ZodLiteral<true>;
|
|
34
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$strict>], "kind">;
|
|
35
43
|
export type SiteEditSourceFileListItem = z.infer<typeof SiteEditSourceFileListItemSchema>;
|
|
36
44
|
export type SiteEditSourceFileTreeNode = {
|
|
37
45
|
kind: "file";
|
|
@@ -65,6 +73,10 @@ export declare const SiteEditSourceTreeTruncationSchema: z.ZodObject<{
|
|
|
65
73
|
}, z.core.$strip>;
|
|
66
74
|
export type SiteEditSourceTreeTruncation = z.infer<typeof SiteEditSourceTreeTruncationSchema>;
|
|
67
75
|
export declare const SiteEditSourceTreeResponseSchema: z.ZodObject<{
|
|
76
|
+
composition: z.ZodObject<{
|
|
77
|
+
routeId: z.ZodString;
|
|
78
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>;
|
|
68
80
|
nodes: z.ZodArray<z.ZodType<SiteEditSourceTreeNode, unknown, z.core.$ZodTypeInternals<SiteEditSourceTreeNode, unknown>>>;
|
|
69
81
|
defaultPath: z.ZodOptional<z.ZodString>;
|
|
70
82
|
totalFiles: z.ZodNumber;
|
|
@@ -78,9 +90,28 @@ export declare const SiteEditSourceTreeResponseSchema: z.ZodObject<{
|
|
|
78
90
|
maxDepth: z.ZodNumber;
|
|
79
91
|
maxTotalBytes: z.ZodNumber;
|
|
80
92
|
}, z.core.$strip>>;
|
|
81
|
-
}, z.core.$
|
|
93
|
+
}, z.core.$strict>;
|
|
82
94
|
export type SiteEditSourceTreeResponse = z.infer<typeof SiteEditSourceTreeResponseSchema>;
|
|
95
|
+
export declare const SiteEditGetSourceTreeInputSchema: z.ZodObject<{
|
|
96
|
+
composition: z.ZodObject<{
|
|
97
|
+
routeId: z.ZodString;
|
|
98
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export type SiteEditGetSourceTreeInput = z.infer<typeof SiteEditGetSourceTreeInputSchema>;
|
|
102
|
+
export declare const SiteEditGetSourceFileInputSchema: z.ZodObject<{
|
|
103
|
+
path: z.ZodString;
|
|
104
|
+
composition: z.ZodObject<{
|
|
105
|
+
routeId: z.ZodString;
|
|
106
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export type SiteEditGetSourceFileInput = z.infer<typeof SiteEditGetSourceFileInputSchema>;
|
|
83
110
|
export declare const SiteEditSourceFileTextResponseSchema: z.ZodObject<{
|
|
111
|
+
composition: z.ZodObject<{
|
|
112
|
+
routeId: z.ZodString;
|
|
113
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strict>;
|
|
84
115
|
path: z.ZodString;
|
|
85
116
|
sizeBytes: z.ZodNumber;
|
|
86
117
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -88,7 +119,7 @@ export declare const SiteEditSourceFileTextResponseSchema: z.ZodObject<{
|
|
|
88
119
|
language: z.ZodString;
|
|
89
120
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
90
121
|
content: z.ZodString;
|
|
91
|
-
}, z.core.$
|
|
122
|
+
}, z.core.$strict>;
|
|
92
123
|
export type SiteEditSourceFileTextResponse = z.infer<typeof SiteEditSourceFileTextResponseSchema>;
|
|
93
124
|
export declare const SiteEditSourceFileBinaryPreviewUnavailableReasonSchema: z.ZodEnum<{
|
|
94
125
|
"too-large": "too-large";
|
|
@@ -97,6 +128,10 @@ export declare const SiteEditSourceFileBinaryPreviewUnavailableReasonSchema: z.Z
|
|
|
97
128
|
}>;
|
|
98
129
|
export type SiteEditSourceFileBinaryPreviewUnavailableReason = z.infer<typeof SiteEditSourceFileBinaryPreviewUnavailableReasonSchema>;
|
|
99
130
|
export declare const SiteEditSourceFileBinaryResponseSchema: z.ZodObject<{
|
|
131
|
+
composition: z.ZodObject<{
|
|
132
|
+
routeId: z.ZodString;
|
|
133
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strict>;
|
|
100
135
|
path: z.ZodString;
|
|
101
136
|
sizeBytes: z.ZodNumber;
|
|
102
137
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -110,9 +145,13 @@ export declare const SiteEditSourceFileBinaryResponseSchema: z.ZodObject<{
|
|
|
110
145
|
"unsupported-mime": "unsupported-mime";
|
|
111
146
|
"bytes-unavailable": "bytes-unavailable";
|
|
112
147
|
}>>;
|
|
113
|
-
}, z.core.$
|
|
148
|
+
}, z.core.$strict>;
|
|
114
149
|
export type SiteEditSourceFileBinaryResponse = z.infer<typeof SiteEditSourceFileBinaryResponseSchema>;
|
|
115
150
|
export declare const SiteEditSourceFileResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
151
|
+
composition: z.ZodObject<{
|
|
152
|
+
routeId: z.ZodString;
|
|
153
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strict>;
|
|
116
155
|
path: z.ZodString;
|
|
117
156
|
sizeBytes: z.ZodNumber;
|
|
118
157
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -120,7 +159,11 @@ export declare const SiteEditSourceFileResponseSchema: z.ZodDiscriminatedUnion<[
|
|
|
120
159
|
language: z.ZodString;
|
|
121
160
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
122
161
|
content: z.ZodString;
|
|
123
|
-
}, z.core.$
|
|
162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
163
|
+
composition: z.ZodObject<{
|
|
164
|
+
routeId: z.ZodString;
|
|
165
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strict>;
|
|
124
167
|
path: z.ZodString;
|
|
125
168
|
sizeBytes: z.ZodNumber;
|
|
126
169
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -134,12 +177,15 @@ export declare const SiteEditSourceFileResponseSchema: z.ZodDiscriminatedUnion<[
|
|
|
134
177
|
"unsupported-mime": "unsupported-mime";
|
|
135
178
|
"bytes-unavailable": "bytes-unavailable";
|
|
136
179
|
}>>;
|
|
137
|
-
}, z.core.$
|
|
180
|
+
}, z.core.$strict>], "kind">;
|
|
138
181
|
export type SiteEditSourceFileResponse = z.infer<typeof SiteEditSourceFileResponseSchema>;
|
|
139
182
|
export declare const SiteEditResolveSourceLocationInputSchema: z.ZodObject<{
|
|
140
183
|
key: z.ZodString;
|
|
141
|
-
|
|
142
|
-
|
|
184
|
+
composition: z.ZodObject<{
|
|
185
|
+
routeId: z.ZodString;
|
|
186
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
}, z.core.$strict>;
|
|
143
189
|
export type SiteEditResolveSourceLocationInput = z.infer<typeof SiteEditResolveSourceLocationInputSchema>;
|
|
144
190
|
export declare const SiteEditSourceLocationRangeSchema: z.ZodObject<{
|
|
145
191
|
startLine: z.ZodNumber;
|
|
@@ -150,7 +196,10 @@ export declare const SiteEditSourceLocationRangeSchema: z.ZodObject<{
|
|
|
150
196
|
export type SiteEditSourceLocationRange = z.infer<typeof SiteEditSourceLocationRangeSchema>;
|
|
151
197
|
export declare const SiteEditSourceLocationSchema: z.ZodObject<{
|
|
152
198
|
key: z.ZodString;
|
|
153
|
-
|
|
199
|
+
composition: z.ZodObject<{
|
|
200
|
+
routeId: z.ZodString;
|
|
201
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
}, z.core.$strict>;
|
|
154
203
|
sourceFile: z.ZodString;
|
|
155
204
|
componentName: z.ZodString;
|
|
156
205
|
openingElementRange: z.ZodObject<{
|
|
@@ -161,7 +210,7 @@ export declare const SiteEditSourceLocationSchema: z.ZodObject<{
|
|
|
161
210
|
}, z.core.$strip>;
|
|
162
211
|
structuralPath: z.ZodString;
|
|
163
212
|
textPreview: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}, z.core.$
|
|
213
|
+
}, z.core.$strict>;
|
|
165
214
|
export type SiteEditSourceLocation = z.infer<typeof SiteEditSourceLocationSchema>;
|
|
166
215
|
export declare function isSiteEditSourcePath(path: string): boolean;
|
|
167
216
|
export declare function isSiteEditTextSourcePath(path: string): boolean;
|
|
@@ -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
|
+
export declare const CURRENT_EDIT_ENGINE_VERSION = "0.7.0";
|
|
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";
|