@vcp-dev/contracts 0.6.10 → 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/api-response.d.ts +11 -0
- package/dist/business-facts.d.ts +23 -0
- package/dist/cms-page-directory.d.ts +281 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/colorway-distinctness.js +1 -1
- package/dist/connect-dynamic-collection.d.ts +7 -3
- package/dist/connect-form.d.ts +7 -5
- package/dist/conversion-hints.d.ts +37 -0
- package/dist/crawler-task-service.d.ts +594 -0
- package/dist/custom-domain.d.ts +120 -206
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-lifecycle.d.ts +45 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/design-tokens.d.ts +1 -0
- package/dist/design-tokens.js +1 -1
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/e2b-preview-proxy.d.ts +5 -0
- package/dist/external-site-edit.d.ts +267 -0
- package/dist/firecrawl-internal.d.ts +122 -0
- package/dist/font-catalog.d.ts +5 -2
- package/dist/form-design.d.ts +109 -69
- package/dist/google-search-console.d.ts +317 -0
- package/dist/index.d.ts +7110 -1965
- package/dist/index.js +1 -1
- package/dist/industry-classification.d.ts +43 -0
- package/dist/input-context-bundle.d.ts +16 -6
- package/dist/internal-entity-id.d.ts +3 -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 +742 -0
- package/dist/media-library.d.ts +164 -0
- 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/product-search.d.ts +227 -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 +76 -14
- package/dist/site-edit-history-status.d.ts +193 -0
- package/dist/site-edit-operation.d.ts +205 -62
- 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 +67 -17
- 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 +65 -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 +1026 -0
- package/dist/sitemap-navigation.d.ts +12 -0
- package/dist/step2-page-selection.d.ts +88 -0
- package/dist/step2-site-initialization.d.ts +500 -0
- package/dist/step3-digital-employee-analysis.d.ts +661 -0
- package/dist/step4-diagnosis.d.ts +272 -0
- package/dist/step5-strategy.d.ts +8076 -0
- package/dist/step6-design.d.ts +986 -0
- 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/user-facing-copy.d.ts +1 -0
- package/dist/workspace-design-apply.d.ts +5 -0
- package/dist/workspace-resource-operation.d.ts +75 -33
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
|
@@ -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>;
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -430,8 +452,8 @@ export declare const SiteEditProvenanceChainSchema: z.ZodObject<{
|
|
|
430
452
|
confidence: z.ZodEnum<{
|
|
431
453
|
unknown: "unknown";
|
|
432
454
|
exact: "exact";
|
|
433
|
-
"safe-derived": "safe-derived";
|
|
434
455
|
partial: "partial";
|
|
456
|
+
"safe-derived": "safe-derived";
|
|
435
457
|
}>;
|
|
436
458
|
editMode: z.ZodEnum<{
|
|
437
459
|
readonly: "readonly";
|
|
@@ -454,11 +476,11 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
454
476
|
color: "color";
|
|
455
477
|
cursor: "cursor";
|
|
456
478
|
columns: "columns";
|
|
479
|
+
position: "position";
|
|
457
480
|
width: "width";
|
|
458
481
|
height: "height";
|
|
459
482
|
order: "order";
|
|
460
483
|
display: "display";
|
|
461
|
-
position: "position";
|
|
462
484
|
top: "top";
|
|
463
485
|
right: "right";
|
|
464
486
|
bottom: "bottom";
|
|
@@ -558,9 +580,9 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
558
580
|
}>>;
|
|
559
581
|
state: z.ZodOptional<z.ZodEnum<{
|
|
560
582
|
active: "active";
|
|
583
|
+
disabled: "disabled";
|
|
561
584
|
hover: "hover";
|
|
562
585
|
focus: "focus";
|
|
563
|
-
disabled: "disabled";
|
|
564
586
|
}>>;
|
|
565
587
|
variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
566
588
|
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
@@ -580,6 +602,7 @@ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<
|
|
|
580
602
|
"apply-style-draft": "apply-style-draft";
|
|
581
603
|
"source-edit": "source-edit";
|
|
582
604
|
"insert-page-resource": "insert-page-resource";
|
|
605
|
+
"delete-page-source": "delete-page-source";
|
|
583
606
|
}>>>;
|
|
584
607
|
}, z.core.$strip>>;
|
|
585
608
|
}, z.core.$strip>]>;
|
|
@@ -605,6 +628,7 @@ export declare const SiteEditStyleSourceSchema: z.ZodObject<{
|
|
|
605
628
|
"apply-style-draft": "apply-style-draft";
|
|
606
629
|
"source-edit": "source-edit";
|
|
607
630
|
"insert-page-resource": "insert-page-resource";
|
|
631
|
+
"delete-page-source": "delete-page-source";
|
|
608
632
|
}>>;
|
|
609
633
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
610
634
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -638,6 +662,10 @@ export declare const SiteEditSourceLocatorSchema: z.ZodObject<{
|
|
|
638
662
|
}, z.core.$strip>;
|
|
639
663
|
export type SiteEditSourceLocator = z.infer<typeof SiteEditSourceLocatorSchema>;
|
|
640
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>;
|
|
641
669
|
key: z.ZodString;
|
|
642
670
|
tag: z.ZodString;
|
|
643
671
|
componentName: z.ZodString;
|
|
@@ -656,6 +684,10 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
656
684
|
}, z.core.$strip>>;
|
|
657
685
|
label: z.ZodString;
|
|
658
686
|
capabilities: z.ZodObject<{
|
|
687
|
+
composition: z.ZodObject<{
|
|
688
|
+
routeId: z.ZodString;
|
|
689
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
690
|
+
}, z.core.$strict>;
|
|
659
691
|
key: z.ZodString;
|
|
660
692
|
canUpdateText: z.ZodBoolean;
|
|
661
693
|
canInsertChild: z.ZodBoolean;
|
|
@@ -716,7 +748,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
716
748
|
}>;
|
|
717
749
|
message: z.ZodString;
|
|
718
750
|
}, z.core.$strip>>;
|
|
719
|
-
}, z.core.$
|
|
751
|
+
}, z.core.$strict>;
|
|
720
752
|
writeTarget: z.ZodObject<{
|
|
721
753
|
kind: z.ZodEnum<{
|
|
722
754
|
"jsx-node": "jsx-node";
|
|
@@ -799,8 +831,8 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
799
831
|
confidence: z.ZodEnum<{
|
|
800
832
|
unknown: "unknown";
|
|
801
833
|
exact: "exact";
|
|
802
|
-
"safe-derived": "safe-derived";
|
|
803
834
|
partial: "partial";
|
|
835
|
+
"safe-derived": "safe-derived";
|
|
804
836
|
}>;
|
|
805
837
|
editMode: z.ZodEnum<{
|
|
806
838
|
readonly: "readonly";
|
|
@@ -838,6 +870,7 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
838
870
|
"apply-style-draft": "apply-style-draft";
|
|
839
871
|
"source-edit": "source-edit";
|
|
840
872
|
"insert-page-resource": "insert-page-resource";
|
|
873
|
+
"delete-page-source": "delete-page-source";
|
|
841
874
|
}>>;
|
|
842
875
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
843
876
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -882,8 +915,8 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
882
915
|
confidence: z.ZodEnum<{
|
|
883
916
|
unknown: "unknown";
|
|
884
917
|
exact: "exact";
|
|
885
|
-
"safe-derived": "safe-derived";
|
|
886
918
|
partial: "partial";
|
|
919
|
+
"safe-derived": "safe-derived";
|
|
887
920
|
}>;
|
|
888
921
|
readonly: z.ZodLiteral<true>;
|
|
889
922
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -933,9 +966,13 @@ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
|
|
|
933
966
|
label: z.ZodString;
|
|
934
967
|
tag: z.ZodString;
|
|
935
968
|
}, z.core.$strip>>;
|
|
936
|
-
}, z.core.$
|
|
969
|
+
}, z.core.$strict>;
|
|
937
970
|
export type SiteEditObjectDetail = z.infer<typeof SiteEditObjectDetailSchema>;
|
|
938
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>;
|
|
939
976
|
key: z.ZodString;
|
|
940
977
|
tag: z.ZodString;
|
|
941
978
|
label: z.ZodString;
|
|
@@ -1000,9 +1037,13 @@ export declare const SiteEditObjectSummarySchema: z.ZodObject<{
|
|
|
1000
1037
|
label: z.ZodString;
|
|
1001
1038
|
tag: z.ZodString;
|
|
1002
1039
|
}, z.core.$strip>>;
|
|
1003
|
-
}, z.core.$
|
|
1040
|
+
}, z.core.$strict>;
|
|
1004
1041
|
export type SiteEditObjectSummary = z.infer<typeof SiteEditObjectSummarySchema>;
|
|
1005
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>;
|
|
1006
1047
|
key: z.ZodString;
|
|
1007
1048
|
tag: z.ZodString;
|
|
1008
1049
|
label: z.ZodString;
|
|
@@ -1027,6 +1068,10 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1027
1068
|
componentName: z.ZodString;
|
|
1028
1069
|
sourceFile: z.ZodString;
|
|
1029
1070
|
capabilities: z.ZodObject<{
|
|
1071
|
+
composition: z.ZodObject<{
|
|
1072
|
+
routeId: z.ZodString;
|
|
1073
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, z.core.$strict>;
|
|
1030
1075
|
key: z.ZodString;
|
|
1031
1076
|
canUpdateText: z.ZodBoolean;
|
|
1032
1077
|
canInsertChild: z.ZodBoolean;
|
|
@@ -1087,7 +1132,7 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1087
1132
|
}>;
|
|
1088
1133
|
message: z.ZodString;
|
|
1089
1134
|
}, z.core.$strip>>;
|
|
1090
|
-
}, z.core.$
|
|
1135
|
+
}, z.core.$strict>;
|
|
1091
1136
|
provenanceChain: z.ZodOptional<z.ZodObject<{
|
|
1092
1137
|
editMode: z.ZodEnum<{
|
|
1093
1138
|
readonly: "readonly";
|
|
@@ -1143,8 +1188,8 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1143
1188
|
confidence: z.ZodEnum<{
|
|
1144
1189
|
unknown: "unknown";
|
|
1145
1190
|
exact: "exact";
|
|
1146
|
-
"safe-derived": "safe-derived";
|
|
1147
1191
|
partial: "partial";
|
|
1192
|
+
"safe-derived": "safe-derived";
|
|
1148
1193
|
}>;
|
|
1149
1194
|
readonly: z.ZodLiteral<true>;
|
|
1150
1195
|
evidence: z.ZodArray<z.ZodObject<{
|
|
@@ -1161,9 +1206,13 @@ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
|
|
|
1161
1206
|
"fragment-region": "fragment-region";
|
|
1162
1207
|
"opaque-region": "opaque-region";
|
|
1163
1208
|
}>>;
|
|
1164
|
-
}, z.core.$
|
|
1209
|
+
}, z.core.$strict>;
|
|
1165
1210
|
export type SiteEditObjectEditContext = z.infer<typeof SiteEditObjectEditContextSchema>;
|
|
1166
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>;
|
|
1167
1216
|
key: z.ZodString;
|
|
1168
1217
|
mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1169
1218
|
styleSource: z.ZodOptional<z.ZodObject<{
|
|
@@ -1187,6 +1236,7 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
|
1187
1236
|
"apply-style-draft": "apply-style-draft";
|
|
1188
1237
|
"source-edit": "source-edit";
|
|
1189
1238
|
"insert-page-resource": "insert-page-resource";
|
|
1239
|
+
"delete-page-source": "delete-page-source";
|
|
1190
1240
|
}>>;
|
|
1191
1241
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1192
1242
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1198,5 +1248,5 @@ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
|
|
|
1198
1248
|
message: z.ZodString;
|
|
1199
1249
|
}, z.core.$strip>>>;
|
|
1200
1250
|
}, z.core.$strip>>;
|
|
1201
|
-
}, z.core.$
|
|
1251
|
+
}, z.core.$strict>;
|
|
1202
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;
|