@vcp-dev/contracts 0.9.6 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application-template.d.ts +754 -0
- package/dist/cms-application-provisioning.d.ts +92 -0
- package/dist/cms-collection-binding.d.ts +1 -1
- package/dist/cms-page-directory.d.ts +7 -7
- package/dist/connect-dynamic-collection.d.ts +6 -6
- package/dist/connect-form.d.ts +2 -2
- package/dist/conversion-hints.d.ts +1 -1
- package/dist/custom-domain.d.ts +2 -2
- package/dist/deployment-progress.d.ts +3 -3
- package/dist/designer-page-library.d.ts +14 -14
- package/dist/external-site-edit.d.ts +9 -9
- package/dist/form-design.d.ts +40 -40
- package/dist/google-search-console.d.ts +15 -15
- package/dist/index.d.ts +160 -147
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +8 -8
- package/dist/knowledge-source-readiness.d.ts +5 -5
- package/dist/launcher-prompt-templates.d.ts +8 -8
- package/dist/product-search.d.ts +2 -2
- package/dist/site-build.d.ts +2 -2
- package/dist/site-edit-event.d.ts +1 -1
- package/dist/site-edit-operation-value.d.ts +5 -0
- package/dist/site-edit-operation.d.ts +49 -40
- package/dist/site-edit-property-change.d.ts +27 -0
- package/dist/site-edit-property-policy.d.ts +12 -0
- package/dist/site-edit-property-read.d.ts +225 -0
- package/dist/site-edit-render-document.d.ts +221 -59
- package/dist/site-edit-style-draft-property.d.ts +11 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-localization-fields.d.ts +6 -6
- package/dist/site-publish-domain.d.ts +42 -42
- package/dist/site-publish-workflow.d.ts +35 -35
- package/dist/site-workflow.d.ts +6 -6
- package/dist/step2-site-initialization.d.ts +6 -6
- package/dist/step3-digital-employee-analysis.d.ts +12 -12
- package/dist/step5-strategy.d.ts +76 -76
- package/dist/step6-design.d.ts +3 -3
- package/dist/step6-gpt-design.d.ts +3 -3
- package/dist/template-upgrade-observability.d.ts +4 -4
- package/dist/workspace-resource-operation.d.ts +33 -25
- package/package.json +1 -1
- package/dist/site-edit-element-property.d.ts +0 -10
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type SiteEditOperationValue } from "./site-edit-operation-value.js";
|
|
3
|
+
export declare const SiteEditExternalSourceKindSchema: z.ZodEnum<{
|
|
4
|
+
"api-field": "api-field";
|
|
5
|
+
"cms-field": "cms-field";
|
|
6
|
+
"i18n-message": "i18n-message";
|
|
7
|
+
"config-entry": "config-entry";
|
|
8
|
+
}>;
|
|
9
|
+
export type SiteEditExternalSourceKind = z.infer<typeof SiteEditExternalSourceKindSchema>;
|
|
10
|
+
export declare const SiteEditEffectiveWriteTargetSchema: z.ZodObject<{
|
|
11
|
+
kind: z.ZodEnum<{
|
|
12
|
+
"jsx-node": "jsx-node";
|
|
13
|
+
"value-path": "value-path";
|
|
14
|
+
"route-export": "route-export";
|
|
15
|
+
"external-entry": "external-entry";
|
|
16
|
+
}>;
|
|
17
|
+
file: z.ZodOptional<z.ZodString>;
|
|
18
|
+
isProxy: z.ZodBoolean;
|
|
19
|
+
displayPath: z.ZodOptional<z.ZodString>;
|
|
20
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
"api-field": "api-field";
|
|
22
|
+
"cms-field": "cms-field";
|
|
23
|
+
"i18n-message": "i18n-message";
|
|
24
|
+
"config-entry": "config-entry";
|
|
25
|
+
}>>;
|
|
26
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export type SiteEditEffectiveWriteTarget = z.infer<typeof SiteEditEffectiveWriteTargetSchema>;
|
|
29
|
+
export declare const SiteEditPropertyResolutionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30
|
+
status: z.ZodLiteral<"resolved">;
|
|
31
|
+
value: z.ZodType<SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<SiteEditOperationValue, unknown>>;
|
|
32
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
33
|
+
status: z.ZodLiteral<"undefined">;
|
|
34
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
35
|
+
status: z.ZodLiteral<"unresolved">;
|
|
36
|
+
}, z.core.$strict>], "status">;
|
|
37
|
+
export type SiteEditPropertyResolution = z.infer<typeof SiteEditPropertyResolutionSchema>;
|
|
38
|
+
export declare const SiteEditPropertySourceSchema: z.ZodObject<{
|
|
39
|
+
kind: z.ZodEnum<{
|
|
40
|
+
literal: "literal";
|
|
41
|
+
binding: "binding";
|
|
42
|
+
expression: "expression";
|
|
43
|
+
"boolean-shorthand": "boolean-shorthand";
|
|
44
|
+
"repeat-template": "repeat-template";
|
|
45
|
+
}>;
|
|
46
|
+
raw: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export type SiteEditPropertySource = z.infer<typeof SiteEditPropertySourceSchema>;
|
|
49
|
+
export declare const SiteEditPropertyItemSchema: z.ZodObject<{
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
source: z.ZodObject<{
|
|
52
|
+
kind: z.ZodEnum<{
|
|
53
|
+
literal: "literal";
|
|
54
|
+
binding: "binding";
|
|
55
|
+
expression: "expression";
|
|
56
|
+
"boolean-shorthand": "boolean-shorthand";
|
|
57
|
+
"repeat-template": "repeat-template";
|
|
58
|
+
}>;
|
|
59
|
+
raw: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strict>;
|
|
61
|
+
resolution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62
|
+
status: z.ZodLiteral<"resolved">;
|
|
63
|
+
value: z.ZodType<SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<SiteEditOperationValue, unknown>>;
|
|
64
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
65
|
+
status: z.ZodLiteral<"undefined">;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
status: z.ZodLiteral<"unresolved">;
|
|
68
|
+
}, z.core.$strict>], "status">;
|
|
69
|
+
editMode: z.ZodEnum<{
|
|
70
|
+
readonly: "readonly";
|
|
71
|
+
unsupported: "unsupported";
|
|
72
|
+
direct: "direct";
|
|
73
|
+
proxy: "proxy";
|
|
74
|
+
upstream: "upstream";
|
|
75
|
+
}>;
|
|
76
|
+
sourceScope: z.ZodEnum<{
|
|
77
|
+
node: "node";
|
|
78
|
+
"repeat-template": "repeat-template";
|
|
79
|
+
"repeat-item": "repeat-item";
|
|
80
|
+
}>;
|
|
81
|
+
allowedWriteScopes: z.ZodArray<z.ZodEnum<{
|
|
82
|
+
template: "template";
|
|
83
|
+
selection: "selection";
|
|
84
|
+
}>>;
|
|
85
|
+
effectiveWriteTarget: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
kind: z.ZodEnum<{
|
|
87
|
+
"jsx-node": "jsx-node";
|
|
88
|
+
"value-path": "value-path";
|
|
89
|
+
"route-export": "route-export";
|
|
90
|
+
"external-entry": "external-entry";
|
|
91
|
+
}>;
|
|
92
|
+
file: z.ZodOptional<z.ZodString>;
|
|
93
|
+
isProxy: z.ZodBoolean;
|
|
94
|
+
displayPath: z.ZodOptional<z.ZodString>;
|
|
95
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
"api-field": "api-field";
|
|
97
|
+
"cms-field": "cms-field";
|
|
98
|
+
"i18n-message": "i18n-message";
|
|
99
|
+
"config-entry": "config-entry";
|
|
100
|
+
}>>;
|
|
101
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
103
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
104
|
+
code: z.ZodString;
|
|
105
|
+
message: z.ZodString;
|
|
106
|
+
}, z.core.$strict>>;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
export type SiteEditPropertyItem = z.infer<typeof SiteEditPropertyItemSchema>;
|
|
109
|
+
export declare const SiteEditPropertySpreadSchema: z.ZodObject<{
|
|
110
|
+
raw: z.ZodString;
|
|
111
|
+
sourceRange: z.ZodObject<{
|
|
112
|
+
start: z.ZodNumber;
|
|
113
|
+
end: z.ZodNumber;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
order: z.ZodNumber;
|
|
116
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
117
|
+
code: z.ZodString;
|
|
118
|
+
message: z.ZodString;
|
|
119
|
+
}, z.core.$strict>>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type SiteEditPropertySpread = z.infer<typeof SiteEditPropertySpreadSchema>;
|
|
122
|
+
export declare const SiteEditPropertyCreationSchema: z.ZodObject<{
|
|
123
|
+
selection: z.ZodEnum<{
|
|
124
|
+
unsupported: "unsupported";
|
|
125
|
+
direct: "direct";
|
|
126
|
+
materialize: "materialize";
|
|
127
|
+
}>;
|
|
128
|
+
template: z.ZodEnum<{
|
|
129
|
+
unsupported: "unsupported";
|
|
130
|
+
direct: "direct";
|
|
131
|
+
}>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
export type SiteEditPropertyCreation = z.infer<typeof SiteEditPropertyCreationSchema>;
|
|
134
|
+
export declare const SiteEditPropertiesSchema: z.ZodObject<{
|
|
135
|
+
documentVersion: z.ZodNumber;
|
|
136
|
+
selectionRef: z.ZodOptional<z.ZodObject<{
|
|
137
|
+
key: z.ZodString;
|
|
138
|
+
instanceIndex: z.ZodOptional<z.ZodNumber>;
|
|
139
|
+
instanceCount: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
items: z.ZodArray<z.ZodObject<{
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
source: z.ZodObject<{
|
|
144
|
+
kind: z.ZodEnum<{
|
|
145
|
+
literal: "literal";
|
|
146
|
+
binding: "binding";
|
|
147
|
+
expression: "expression";
|
|
148
|
+
"boolean-shorthand": "boolean-shorthand";
|
|
149
|
+
"repeat-template": "repeat-template";
|
|
150
|
+
}>;
|
|
151
|
+
raw: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>;
|
|
153
|
+
resolution: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
|
+
status: z.ZodLiteral<"resolved">;
|
|
155
|
+
value: z.ZodType<SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<SiteEditOperationValue, unknown>>;
|
|
156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
157
|
+
status: z.ZodLiteral<"undefined">;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
status: z.ZodLiteral<"unresolved">;
|
|
160
|
+
}, z.core.$strict>], "status">;
|
|
161
|
+
editMode: z.ZodEnum<{
|
|
162
|
+
readonly: "readonly";
|
|
163
|
+
unsupported: "unsupported";
|
|
164
|
+
direct: "direct";
|
|
165
|
+
proxy: "proxy";
|
|
166
|
+
upstream: "upstream";
|
|
167
|
+
}>;
|
|
168
|
+
sourceScope: z.ZodEnum<{
|
|
169
|
+
node: "node";
|
|
170
|
+
"repeat-template": "repeat-template";
|
|
171
|
+
"repeat-item": "repeat-item";
|
|
172
|
+
}>;
|
|
173
|
+
allowedWriteScopes: z.ZodArray<z.ZodEnum<{
|
|
174
|
+
template: "template";
|
|
175
|
+
selection: "selection";
|
|
176
|
+
}>>;
|
|
177
|
+
effectiveWriteTarget: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
kind: z.ZodEnum<{
|
|
179
|
+
"jsx-node": "jsx-node";
|
|
180
|
+
"value-path": "value-path";
|
|
181
|
+
"route-export": "route-export";
|
|
182
|
+
"external-entry": "external-entry";
|
|
183
|
+
}>;
|
|
184
|
+
file: z.ZodOptional<z.ZodString>;
|
|
185
|
+
isProxy: z.ZodBoolean;
|
|
186
|
+
displayPath: z.ZodOptional<z.ZodString>;
|
|
187
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
"api-field": "api-field";
|
|
189
|
+
"cms-field": "cms-field";
|
|
190
|
+
"i18n-message": "i18n-message";
|
|
191
|
+
"config-entry": "config-entry";
|
|
192
|
+
}>>;
|
|
193
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>>;
|
|
195
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
196
|
+
code: z.ZodString;
|
|
197
|
+
message: z.ZodString;
|
|
198
|
+
}, z.core.$strict>>;
|
|
199
|
+
}, z.core.$strict>>;
|
|
200
|
+
spreads: z.ZodArray<z.ZodObject<{
|
|
201
|
+
raw: z.ZodString;
|
|
202
|
+
sourceRange: z.ZodObject<{
|
|
203
|
+
start: z.ZodNumber;
|
|
204
|
+
end: z.ZodNumber;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
order: z.ZodNumber;
|
|
207
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
208
|
+
code: z.ZodString;
|
|
209
|
+
message: z.ZodString;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
creation: z.ZodObject<{
|
|
213
|
+
selection: z.ZodEnum<{
|
|
214
|
+
unsupported: "unsupported";
|
|
215
|
+
direct: "direct";
|
|
216
|
+
materialize: "materialize";
|
|
217
|
+
}>;
|
|
218
|
+
template: z.ZodEnum<{
|
|
219
|
+
unsupported: "unsupported";
|
|
220
|
+
direct: "direct";
|
|
221
|
+
}>;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
}, z.core.$strict>;
|
|
224
|
+
export type SiteEditProperties = z.infer<typeof SiteEditPropertiesSchema>;
|
|
225
|
+
export type SiteEditPropertyValue = SiteEditOperationValue;
|