@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
|
@@ -21,23 +21,55 @@ export declare const SiteEditOperationValueSchema: z.ZodType<SiteEditOperationVa
|
|
|
21
21
|
export declare const SiteEditOperationTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
22
|
kind: z.ZodLiteral<"node">;
|
|
23
23
|
key: z.ZodString;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
25
25
|
kind: z.ZodLiteral<"page-unit">;
|
|
26
|
-
|
|
26
|
+
composition: z.ZodObject<{
|
|
27
|
+
routeId: z.ZodString;
|
|
28
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strict>;
|
|
27
30
|
placementUnitKey: z.ZodString;
|
|
28
31
|
}, z.core.$strict>, z.ZodObject<{
|
|
29
32
|
kind: z.ZodLiteral<"route">;
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
composition: z.ZodObject<{
|
|
34
|
+
routeId: z.ZodString;
|
|
35
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
38
|
kind: z.ZodLiteral<"source-file">;
|
|
33
39
|
path: z.ZodString;
|
|
34
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
35
41
|
kind: z.ZodLiteral<"source-batch">;
|
|
36
42
|
paths: z.ZodArray<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38
44
|
kind: z.ZodLiteral<"project">;
|
|
39
45
|
}, z.core.$strict>], "kind">;
|
|
40
46
|
export type SiteEditOperationTarget = z.infer<typeof SiteEditOperationTargetSchema>;
|
|
47
|
+
export declare const SiteEditOperationResultTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
48
|
+
kind: z.ZodLiteral<"node">;
|
|
49
|
+
key: z.ZodString;
|
|
50
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
51
|
+
kind: z.ZodLiteral<"page-unit">;
|
|
52
|
+
composition: z.ZodObject<{
|
|
53
|
+
routeId: z.ZodString;
|
|
54
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strict>;
|
|
56
|
+
placementUnitKey: z.ZodString;
|
|
57
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
58
|
+
kind: z.ZodLiteral<"route">;
|
|
59
|
+
composition: z.ZodObject<{
|
|
60
|
+
routeId: z.ZodString;
|
|
61
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>;
|
|
63
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
64
|
+
kind: z.ZodLiteral<"source-file">;
|
|
65
|
+
path: z.ZodString;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"source-batch">;
|
|
68
|
+
paths: z.ZodArray<z.ZodString>;
|
|
69
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"project">;
|
|
71
|
+
}, z.core.$strict>], "kind">;
|
|
72
|
+
export type SiteEditOperationResultTarget = z.infer<typeof SiteEditOperationResultTargetSchema>;
|
|
41
73
|
export declare const SiteEditStylePropertySchema: z.ZodEnum<{
|
|
42
74
|
transform: "transform";
|
|
43
75
|
color: "color";
|
|
@@ -168,7 +200,10 @@ export declare const SiteEditMoveTargetSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
168
200
|
kind: z.ZodLiteral<"page-composition">;
|
|
169
201
|
placementKey: z.ZodString;
|
|
170
202
|
documentVersion: z.ZodNumber;
|
|
171
|
-
|
|
203
|
+
composition: z.ZodObject<{
|
|
204
|
+
routeId: z.ZodString;
|
|
205
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.core.$strict>;
|
|
172
207
|
placementUnitKey: z.ZodString;
|
|
173
208
|
relation: z.ZodEnum<{
|
|
174
209
|
before: "before";
|
|
@@ -278,7 +313,10 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
278
313
|
kind: z.ZodLiteral<"page-composition">;
|
|
279
314
|
placementKey: z.ZodString;
|
|
280
315
|
documentVersion: z.ZodNumber;
|
|
281
|
-
|
|
316
|
+
composition: z.ZodObject<{
|
|
317
|
+
routeId: z.ZodString;
|
|
318
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
319
|
+
}, z.core.$strict>;
|
|
282
320
|
placementUnitKey: z.ZodString;
|
|
283
321
|
relation: z.ZodEnum<{
|
|
284
322
|
before: "before";
|
|
@@ -290,6 +328,10 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
290
328
|
kind: z.ZodLiteral<"page-composition">;
|
|
291
329
|
placementKey: z.ZodString;
|
|
292
330
|
documentVersion: z.ZodNumber;
|
|
331
|
+
composition: z.ZodObject<{
|
|
332
|
+
routeId: z.ZodString;
|
|
333
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, z.core.$strict>;
|
|
293
335
|
}, z.core.$strict>]>;
|
|
294
336
|
}, z.core.$strip>, z.ZodObject<{
|
|
295
337
|
kind: z.ZodLiteral<"move-node">;
|
|
@@ -309,7 +351,10 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
309
351
|
kind: z.ZodLiteral<"page-composition">;
|
|
310
352
|
placementKey: z.ZodString;
|
|
311
353
|
documentVersion: z.ZodNumber;
|
|
312
|
-
|
|
354
|
+
composition: z.ZodObject<{
|
|
355
|
+
routeId: z.ZodString;
|
|
356
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strict>;
|
|
313
358
|
placementUnitKey: z.ZodString;
|
|
314
359
|
relation: z.ZodEnum<{
|
|
315
360
|
before: "before";
|
|
@@ -321,7 +366,6 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
321
366
|
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
322
367
|
}, z.core.$strip>, z.ZodObject<{
|
|
323
368
|
kind: z.ZodLiteral<"set-class-name-source">;
|
|
324
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
325
369
|
filePath: z.ZodString;
|
|
326
370
|
expectedVersion: z.ZodObject<{
|
|
327
371
|
documentVersion: z.ZodNumber;
|
|
@@ -362,7 +406,6 @@ export declare const SiteEditOperationParamsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
362
406
|
}, z.core.$strip>, z.ZodObject<{
|
|
363
407
|
kind: z.ZodLiteral<"apply-style-draft">;
|
|
364
408
|
className: z.ZodOptional<z.ZodObject<{
|
|
365
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
366
409
|
filePath: z.ZodString;
|
|
367
410
|
expectedVersion: z.ZodObject<{
|
|
368
411
|
documentVersion: z.ZodNumber;
|
|
@@ -565,7 +608,10 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
565
608
|
id: z.ZodString;
|
|
566
609
|
siteId: z.ZodUUID;
|
|
567
610
|
baseSnapshotId: z.ZodUUID;
|
|
568
|
-
|
|
611
|
+
composition: z.ZodObject<{
|
|
612
|
+
routeId: z.ZodString;
|
|
613
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
614
|
+
}, z.core.$strict>;
|
|
569
615
|
kind: z.ZodEnum<{
|
|
570
616
|
"insert-child": "insert-child";
|
|
571
617
|
"update-text": "update-text";
|
|
@@ -582,20 +628,26 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
582
628
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
583
629
|
kind: z.ZodLiteral<"node">;
|
|
584
630
|
key: z.ZodString;
|
|
585
|
-
}, z.core.$
|
|
631
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
586
632
|
kind: z.ZodLiteral<"page-unit">;
|
|
587
|
-
|
|
633
|
+
composition: z.ZodObject<{
|
|
634
|
+
routeId: z.ZodString;
|
|
635
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
636
|
+
}, z.core.$strict>;
|
|
588
637
|
placementUnitKey: z.ZodString;
|
|
589
638
|
}, z.core.$strict>, z.ZodObject<{
|
|
590
639
|
kind: z.ZodLiteral<"route">;
|
|
591
|
-
|
|
592
|
-
|
|
640
|
+
composition: z.ZodObject<{
|
|
641
|
+
routeId: z.ZodString;
|
|
642
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
643
|
+
}, z.core.$strict>;
|
|
644
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
593
645
|
kind: z.ZodLiteral<"source-file">;
|
|
594
646
|
path: z.ZodString;
|
|
595
|
-
}, z.core.$
|
|
647
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
596
648
|
kind: z.ZodLiteral<"source-batch">;
|
|
597
649
|
paths: z.ZodArray<z.ZodString>;
|
|
598
|
-
}, z.core.$
|
|
650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
599
651
|
kind: z.ZodLiteral<"project">;
|
|
600
652
|
}, z.core.$strict>], "kind">;
|
|
601
653
|
documentVersion: z.ZodNumber;
|
|
@@ -674,7 +726,10 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
674
726
|
kind: z.ZodLiteral<"page-composition">;
|
|
675
727
|
placementKey: z.ZodString;
|
|
676
728
|
documentVersion: z.ZodNumber;
|
|
677
|
-
|
|
729
|
+
composition: z.ZodObject<{
|
|
730
|
+
routeId: z.ZodString;
|
|
731
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strict>;
|
|
678
733
|
placementUnitKey: z.ZodString;
|
|
679
734
|
relation: z.ZodEnum<{
|
|
680
735
|
before: "before";
|
|
@@ -686,6 +741,10 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
686
741
|
kind: z.ZodLiteral<"page-composition">;
|
|
687
742
|
placementKey: z.ZodString;
|
|
688
743
|
documentVersion: z.ZodNumber;
|
|
744
|
+
composition: z.ZodObject<{
|
|
745
|
+
routeId: z.ZodString;
|
|
746
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, z.core.$strict>;
|
|
689
748
|
}, z.core.$strict>]>;
|
|
690
749
|
}, z.core.$strip>, z.ZodObject<{
|
|
691
750
|
kind: z.ZodLiteral<"move-node">;
|
|
@@ -705,7 +764,10 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
705
764
|
kind: z.ZodLiteral<"page-composition">;
|
|
706
765
|
placementKey: z.ZodString;
|
|
707
766
|
documentVersion: z.ZodNumber;
|
|
708
|
-
|
|
767
|
+
composition: z.ZodObject<{
|
|
768
|
+
routeId: z.ZodString;
|
|
769
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
770
|
+
}, z.core.$strict>;
|
|
709
771
|
placementUnitKey: z.ZodString;
|
|
710
772
|
relation: z.ZodEnum<{
|
|
711
773
|
before: "before";
|
|
@@ -717,7 +779,6 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
717
779
|
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
718
780
|
}, z.core.$strip>, z.ZodObject<{
|
|
719
781
|
kind: z.ZodLiteral<"set-class-name-source">;
|
|
720
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
721
782
|
filePath: z.ZodString;
|
|
722
783
|
expectedVersion: z.ZodObject<{
|
|
723
784
|
documentVersion: z.ZodNumber;
|
|
@@ -758,7 +819,6 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
758
819
|
}, z.core.$strip>, z.ZodObject<{
|
|
759
820
|
kind: z.ZodLiteral<"apply-style-draft">;
|
|
760
821
|
className: z.ZodOptional<z.ZodObject<{
|
|
761
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
762
822
|
filePath: z.ZodString;
|
|
763
823
|
expectedVersion: z.ZodObject<{
|
|
764
824
|
documentVersion: z.ZodNumber;
|
|
@@ -880,7 +940,7 @@ export declare const SiteEditOperationRequestSchema: z.ZodObject<{
|
|
|
880
940
|
kind: z.ZodLiteral<"delete-page-source">;
|
|
881
941
|
expectedUrlPath: z.ZodString;
|
|
882
942
|
}, z.core.$strict>], "kind">;
|
|
883
|
-
}, z.core.$
|
|
943
|
+
}, z.core.$strict>;
|
|
884
944
|
export type SiteEditOperationRequest = z.infer<typeof SiteEditOperationRequestSchema>;
|
|
885
945
|
/** @deprecated Use SiteEditOperationRequest. */
|
|
886
946
|
export type SiteEditAuthenticatedOperationRequest = SiteEditOperationRequest;
|
|
@@ -891,7 +951,10 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
891
951
|
id: z.ZodString;
|
|
892
952
|
siteId: z.ZodUUID;
|
|
893
953
|
baseSnapshotId: z.ZodUUID;
|
|
894
|
-
|
|
954
|
+
composition: z.ZodObject<{
|
|
955
|
+
routeId: z.ZodString;
|
|
956
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
957
|
+
}, z.core.$strict>;
|
|
895
958
|
kind: z.ZodEnum<{
|
|
896
959
|
"insert-child": "insert-child";
|
|
897
960
|
"update-text": "update-text";
|
|
@@ -908,20 +971,26 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
908
971
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
909
972
|
kind: z.ZodLiteral<"node">;
|
|
910
973
|
key: z.ZodString;
|
|
911
|
-
}, z.core.$
|
|
974
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
912
975
|
kind: z.ZodLiteral<"page-unit">;
|
|
913
|
-
|
|
976
|
+
composition: z.ZodObject<{
|
|
977
|
+
routeId: z.ZodString;
|
|
978
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
979
|
+
}, z.core.$strict>;
|
|
914
980
|
placementUnitKey: z.ZodString;
|
|
915
981
|
}, z.core.$strict>, z.ZodObject<{
|
|
916
982
|
kind: z.ZodLiteral<"route">;
|
|
917
|
-
|
|
918
|
-
|
|
983
|
+
composition: z.ZodObject<{
|
|
984
|
+
routeId: z.ZodString;
|
|
985
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
986
|
+
}, z.core.$strict>;
|
|
987
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
919
988
|
kind: z.ZodLiteral<"source-file">;
|
|
920
989
|
path: z.ZodString;
|
|
921
|
-
}, z.core.$
|
|
990
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
922
991
|
kind: z.ZodLiteral<"source-batch">;
|
|
923
992
|
paths: z.ZodArray<z.ZodString>;
|
|
924
|
-
}, z.core.$
|
|
993
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
925
994
|
kind: z.ZodLiteral<"project">;
|
|
926
995
|
}, z.core.$strict>], "kind">;
|
|
927
996
|
documentVersion: z.ZodNumber;
|
|
@@ -1000,7 +1069,10 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1000
1069
|
kind: z.ZodLiteral<"page-composition">;
|
|
1001
1070
|
placementKey: z.ZodString;
|
|
1002
1071
|
documentVersion: z.ZodNumber;
|
|
1003
|
-
|
|
1072
|
+
composition: z.ZodObject<{
|
|
1073
|
+
routeId: z.ZodString;
|
|
1074
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
}, z.core.$strict>;
|
|
1004
1076
|
placementUnitKey: z.ZodString;
|
|
1005
1077
|
relation: z.ZodEnum<{
|
|
1006
1078
|
before: "before";
|
|
@@ -1012,6 +1084,10 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1012
1084
|
kind: z.ZodLiteral<"page-composition">;
|
|
1013
1085
|
placementKey: z.ZodString;
|
|
1014
1086
|
documentVersion: z.ZodNumber;
|
|
1087
|
+
composition: z.ZodObject<{
|
|
1088
|
+
routeId: z.ZodString;
|
|
1089
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
}, z.core.$strict>;
|
|
1015
1091
|
}, z.core.$strict>]>;
|
|
1016
1092
|
}, z.core.$strip>, z.ZodObject<{
|
|
1017
1093
|
kind: z.ZodLiteral<"move-node">;
|
|
@@ -1031,7 +1107,10 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1031
1107
|
kind: z.ZodLiteral<"page-composition">;
|
|
1032
1108
|
placementKey: z.ZodString;
|
|
1033
1109
|
documentVersion: z.ZodNumber;
|
|
1034
|
-
|
|
1110
|
+
composition: z.ZodObject<{
|
|
1111
|
+
routeId: z.ZodString;
|
|
1112
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
}, z.core.$strict>;
|
|
1035
1114
|
placementUnitKey: z.ZodString;
|
|
1036
1115
|
relation: z.ZodEnum<{
|
|
1037
1116
|
before: "before";
|
|
@@ -1043,7 +1122,6 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1043
1122
|
preserveBindings: z.ZodOptional<z.ZodBoolean>;
|
|
1044
1123
|
}, z.core.$strip>, z.ZodObject<{
|
|
1045
1124
|
kind: z.ZodLiteral<"set-class-name-source">;
|
|
1046
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
1047
1125
|
filePath: z.ZodString;
|
|
1048
1126
|
expectedVersion: z.ZodObject<{
|
|
1049
1127
|
documentVersion: z.ZodNumber;
|
|
@@ -1084,7 +1162,6 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1084
1162
|
}, z.core.$strip>, z.ZodObject<{
|
|
1085
1163
|
kind: z.ZodLiteral<"apply-style-draft">;
|
|
1086
1164
|
className: z.ZodOptional<z.ZodObject<{
|
|
1087
|
-
routeId: z.ZodOptional<z.ZodString>;
|
|
1088
1165
|
filePath: z.ZodString;
|
|
1089
1166
|
expectedVersion: z.ZodObject<{
|
|
1090
1167
|
documentVersion: z.ZodNumber;
|
|
@@ -1206,7 +1283,7 @@ export declare const SiteEditSignedOperationRequestSchema: z.ZodObject<{
|
|
|
1206
1283
|
kind: z.ZodLiteral<"delete-page-source">;
|
|
1207
1284
|
expectedUrlPath: z.ZodString;
|
|
1208
1285
|
}, z.core.$strict>], "kind">;
|
|
1209
|
-
}, z.core.$
|
|
1286
|
+
}, z.core.$strict>;
|
|
1210
1287
|
export type SiteEditSignedOperationRequest = z.infer<typeof SiteEditSignedOperationRequestSchema>;
|
|
1211
1288
|
export declare const SiteEditInsertPageResourceOutputSchema: z.ZodObject<{
|
|
1212
1289
|
kind: z.ZodLiteral<"insert-page-resource">;
|
|
@@ -1259,23 +1336,33 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
|
1259
1336
|
"insert-page-resource": "insert-page-resource";
|
|
1260
1337
|
"delete-page-source": "delete-page-source";
|
|
1261
1338
|
}>;
|
|
1339
|
+
composition: z.ZodObject<{
|
|
1340
|
+
routeId: z.ZodString;
|
|
1341
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
}, z.core.$strict>;
|
|
1262
1343
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1263
1344
|
kind: z.ZodLiteral<"node">;
|
|
1264
1345
|
key: z.ZodString;
|
|
1265
|
-
}, z.core.$
|
|
1346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1266
1347
|
kind: z.ZodLiteral<"page-unit">;
|
|
1267
|
-
|
|
1348
|
+
composition: z.ZodObject<{
|
|
1349
|
+
routeId: z.ZodString;
|
|
1350
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
}, z.core.$strict>;
|
|
1268
1352
|
placementUnitKey: z.ZodString;
|
|
1269
1353
|
}, z.core.$strict>, z.ZodObject<{
|
|
1270
1354
|
kind: z.ZodLiteral<"route">;
|
|
1271
|
-
|
|
1272
|
-
|
|
1355
|
+
composition: z.ZodObject<{
|
|
1356
|
+
routeId: z.ZodString;
|
|
1357
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
}, z.core.$strict>;
|
|
1359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1273
1360
|
kind: z.ZodLiteral<"source-file">;
|
|
1274
1361
|
path: z.ZodString;
|
|
1275
|
-
}, z.core.$
|
|
1362
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1276
1363
|
kind: z.ZodLiteral<"source-batch">;
|
|
1277
1364
|
paths: z.ZodArray<z.ZodString>;
|
|
1278
|
-
}, z.core.$
|
|
1365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1279
1366
|
kind: z.ZodLiteral<"project">;
|
|
1280
1367
|
}, z.core.$strict>], "kind">;
|
|
1281
1368
|
resultVersion: z.ZodNumber;
|
|
@@ -1301,10 +1388,14 @@ export declare const SiteEditOperationPayloadSchema: z.ZodObject<{
|
|
|
1301
1388
|
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1302
1389
|
warnings: z.ZodArray<z.ZodString>;
|
|
1303
1390
|
}, z.core.$strict>], "kind">>;
|
|
1304
|
-
}, z.core.$
|
|
1391
|
+
}, z.core.$strict>;
|
|
1305
1392
|
export type SiteEditOperationPayload = z.infer<typeof SiteEditOperationPayloadSchema>;
|
|
1306
1393
|
export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1307
1394
|
ok: z.ZodLiteral<true>;
|
|
1395
|
+
composition: z.ZodObject<{
|
|
1396
|
+
routeId: z.ZodString;
|
|
1397
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
}, z.core.$strict>;
|
|
1308
1399
|
data: z.ZodObject<{
|
|
1309
1400
|
requestId: z.ZodString;
|
|
1310
1401
|
kind: z.ZodEnum<{
|
|
@@ -1320,23 +1411,33 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
|
|
|
1320
1411
|
"insert-page-resource": "insert-page-resource";
|
|
1321
1412
|
"delete-page-source": "delete-page-source";
|
|
1322
1413
|
}>;
|
|
1414
|
+
composition: z.ZodObject<{
|
|
1415
|
+
routeId: z.ZodString;
|
|
1416
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
}, z.core.$strict>;
|
|
1323
1418
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1324
1419
|
kind: z.ZodLiteral<"node">;
|
|
1325
1420
|
key: z.ZodString;
|
|
1326
|
-
}, z.core.$
|
|
1421
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1327
1422
|
kind: z.ZodLiteral<"page-unit">;
|
|
1328
|
-
|
|
1423
|
+
composition: z.ZodObject<{
|
|
1424
|
+
routeId: z.ZodString;
|
|
1425
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
}, z.core.$strict>;
|
|
1329
1427
|
placementUnitKey: z.ZodString;
|
|
1330
1428
|
}, z.core.$strict>, z.ZodObject<{
|
|
1331
1429
|
kind: z.ZodLiteral<"route">;
|
|
1332
|
-
|
|
1333
|
-
|
|
1430
|
+
composition: z.ZodObject<{
|
|
1431
|
+
routeId: z.ZodString;
|
|
1432
|
+
effectiveTemplateId: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
}, z.core.$strict>;
|
|
1434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1334
1435
|
kind: z.ZodLiteral<"source-file">;
|
|
1335
1436
|
path: z.ZodString;
|
|
1336
|
-
}, z.core.$
|
|
1437
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1337
1438
|
kind: z.ZodLiteral<"source-batch">;
|
|
1338
1439
|
paths: z.ZodArray<z.ZodString>;
|
|
1339
|
-
}, z.core.$
|
|
1440
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1340
1441
|
kind: z.ZodLiteral<"project">;
|
|
1341
1442
|
}, z.core.$strict>], "kind">;
|
|
1342
1443
|
resultVersion: z.ZodNumber;
|
|
@@ -1362,9 +1463,9 @@ export declare const SiteEditOperationCommandResultSchema: z.ZodDiscriminatedUni
|
|
|
1362
1463
|
preserved_shared_files: z.ZodArray<z.ZodString>;
|
|
1363
1464
|
warnings: z.ZodArray<z.ZodString>;
|
|
1364
1465
|
}, z.core.$strict>], "kind">>;
|
|
1365
|
-
}, z.core.$
|
|
1366
|
-
}, z.core.$
|
|
1466
|
+
}, z.core.$strict>;
|
|
1467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1367
1468
|
[x: string]: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1368
|
-
}, z.core.$
|
|
1469
|
+
}, z.core.$strict>], "ok">;
|
|
1369
1470
|
export type SiteEditOperationCommandResult = SiteEditCommandResult<SiteEditOperationPayload, SiteEditOperationErrorCode, unknown, never, Partial<SiteEditOperationPayload>>;
|
|
1370
1471
|
export type SiteEditOperationResult = SiteEditOperationPayload;
|