@vcp-dev/contracts 0.6.9 → 0.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/api-response.d.ts +11 -0
  2. package/dist/cms-collection-binding.d.ts +2 -2
  3. package/dist/cms-page-directory.d.ts +245 -0
  4. package/dist/cms-site-id.d.ts +4 -0
  5. package/dist/connect-dynamic-collection.d.ts +13 -9
  6. package/dist/connect-form.d.ts +5 -3
  7. package/dist/crawler-task-service.d.ts +352 -0
  8. package/dist/custom-domain.d.ts +36 -2
  9. package/dist/customer-materials.d.ts +196 -0
  10. package/dist/deployment-progress.d.ts +51 -0
  11. package/dist/designer-component-library.d.ts +9 -7
  12. package/dist/designer-page-library.d.ts +36 -40
  13. package/dist/external-site-edit.d.ts +258 -0
  14. package/dist/firecrawl-internal.d.ts +103 -0
  15. package/dist/form-design.d.ts +106 -108
  16. package/dist/google-search-console.d.ts +316 -0
  17. package/dist/index.d.ts +5493 -1916
  18. package/dist/index.js +1 -1
  19. package/dist/input-context-bundle.d.ts +15 -15
  20. package/dist/internal-entity-id.d.ts +37 -0
  21. package/dist/launcher-prompt-templates.d.ts +639 -0
  22. package/dist/media-library.d.ts +164 -0
  23. package/dist/product-search.d.ts +227 -0
  24. package/dist/publish-quality.d.ts +92 -0
  25. package/dist/site-edit-capability.d.ts +6 -6
  26. package/dist/site-edit-event.d.ts +15 -7
  27. package/dist/site-edit-operation.d.ts +57 -15
  28. package/dist/site-edit-patch-plan.d.ts +2 -2
  29. package/dist/site-edit-render-document.d.ts +27 -23
  30. package/dist/site-edit-version.d.ts +1 -1
  31. package/dist/site-preview.d.ts +50 -0
  32. package/dist/site-workflow.d.ts +1006 -0
  33. package/dist/sitemap-navigation.d.ts +9 -0
  34. package/dist/step2-site-initialization.d.ts +209 -0
  35. package/dist/step3-digital-employee-analysis.d.ts +695 -0
  36. package/dist/step4-diagnosis.d.ts +204 -0
  37. package/dist/step5-strategy.d.ts +2697 -0
  38. package/dist/step6-design.d.ts +672 -0
  39. package/dist/template-upgrade-observability.d.ts +4 -4
  40. package/dist/user-facing-copy.d.ts +1 -0
  41. package/dist/workspace-design-apply.d.ts +1 -1
  42. package/dist/workspace-resource-operation.d.ts +722 -0
  43. package/package.json +2 -1
  44. package/dist/publish-plan.d.ts +0 -54
@@ -0,0 +1,722 @@
1
+ import { z } from "zod";
2
+ export declare const WorkspaceResourceKindSchema: z.ZodEnum<{
3
+ pages: "pages";
4
+ page: "page";
5
+ component: "component";
6
+ }>;
7
+ export type WorkspaceResourceKind = z.infer<typeof WorkspaceResourceKindSchema>;
8
+ export declare const WorkspaceResourceOperationSummarySchema: z.ZodObject<{
9
+ resource_kind: z.ZodEnum<{
10
+ pages: "pages";
11
+ page: "page";
12
+ component: "component";
13
+ }>;
14
+ resource_name: z.ZodString;
15
+ file_count: z.ZodNumber;
16
+ total_bytes: z.ZodNumber;
17
+ content_digest: z.ZodString;
18
+ custom_prompt: z.ZodOptional<z.ZodString>;
19
+ final_routes: z.ZodArray<z.ZodString>;
20
+ }, z.core.$strict>;
21
+ export type WorkspaceResourceOperationSummary = z.infer<typeof WorkspaceResourceOperationSummarySchema>;
22
+ export declare const WorkspaceResourceNavigationSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
+ kind: z.ZodLiteral<"none">;
24
+ }, z.core.$strict>, z.ZodObject<{
25
+ kind: z.ZodLiteral<"primary">;
26
+ items: z.ZodArray<z.ZodObject<{
27
+ label: z.ZodString;
28
+ href: z.ZodString;
29
+ }, z.core.$strict>>;
30
+ }, z.core.$strict>], "kind">;
31
+ export type WorkspaceResourceNavigationSelection = z.infer<typeof WorkspaceResourceNavigationSelectionSchema>;
32
+ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject<{
33
+ base_snapshot_id: z.ZodString;
34
+ operation: z.ZodObject<{
35
+ id: z.ZodString;
36
+ siteId: z.ZodUUID;
37
+ baseSnapshotId: z.ZodUUID;
38
+ routeId: z.ZodOptional<z.ZodString>;
39
+ kind: z.ZodEnum<{
40
+ "insert-child": "insert-child";
41
+ "update-text": "update-text";
42
+ "update-array-item": "update-array-item";
43
+ "remove-node": "remove-node";
44
+ "move-node": "move-node";
45
+ "set-class-name-source": "set-class-name-source";
46
+ "set-props": "set-props";
47
+ "apply-style-draft": "apply-style-draft";
48
+ "source-edit": "source-edit";
49
+ "insert-page-resource": "insert-page-resource";
50
+ "delete-page-source": "delete-page-source";
51
+ }>;
52
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
53
+ kind: z.ZodLiteral<"node">;
54
+ key: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ kind: z.ZodLiteral<"page-unit">;
57
+ routeId: z.ZodString;
58
+ placementUnitKey: z.ZodString;
59
+ }, z.core.$strict>, z.ZodObject<{
60
+ kind: z.ZodLiteral<"route">;
61
+ routeId: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"source-file">;
64
+ path: z.ZodString;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ kind: z.ZodLiteral<"source-batch">;
67
+ paths: z.ZodArray<z.ZodString>;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ kind: z.ZodLiteral<"project">;
70
+ }, z.core.$strict>], "kind">;
71
+ documentVersion: z.ZodNumber;
72
+ selectionRef: z.ZodOptional<z.ZodObject<{
73
+ key: z.ZodString;
74
+ instanceIndex: z.ZodOptional<z.ZodNumber>;
75
+ instanceCount: z.ZodOptional<z.ZodNumber>;
76
+ }, z.core.$strip>>;
77
+ mutationContext: z.ZodOptional<z.ZodObject<{
78
+ editingSessionId: z.ZodString;
79
+ lockId: z.ZodString;
80
+ ownerId: z.ZodString;
81
+ leaseAssertion: z.ZodString;
82
+ }, z.core.$strict>>;
83
+ params: z.ZodDiscriminatedUnion<[z.ZodObject<{
84
+ kind: z.ZodLiteral<"update-text">;
85
+ segmentIndex: z.ZodNumber;
86
+ value: z.ZodString;
87
+ }, z.core.$strip>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"update-array-item">;
89
+ segmentIndex: z.ZodNumber;
90
+ index: z.ZodNumber;
91
+ value: z.ZodString;
92
+ }, z.core.$strip>, z.ZodObject<{
93
+ kind: z.ZodLiteral<"remove-node">;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ kind: z.ZodLiteral<"insert-child">;
96
+ node: z.ZodUnion<readonly [z.ZodObject<{
97
+ kind: z.ZodLiteral<"native-tag">;
98
+ tag: z.ZodString;
99
+ text: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ kind: z.ZodLiteral<"component-call">;
102
+ component: z.ZodObject<{
103
+ source: z.ZodString;
104
+ exportName: z.ZodString;
105
+ }, z.core.$strip>;
106
+ materialization: z.ZodOptional<z.ZodNever>;
107
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
108
+ }, z.core.$strict>, z.ZodObject<{
109
+ kind: z.ZodLiteral<"component-call">;
110
+ component: z.ZodOptional<z.ZodNever>;
111
+ materialization: z.ZodObject<{
112
+ instanceBaseName: z.ZodString;
113
+ files: z.ZodArray<z.ZodObject<{
114
+ pathTemplate: z.ZodString;
115
+ content: z.ZodString;
116
+ role: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strict>>;
118
+ entry: z.ZodObject<{
119
+ pathTemplate: z.ZodString;
120
+ export: z.ZodUnion<readonly [z.ZodObject<{
121
+ kind: z.ZodLiteral<"default">;
122
+ }, z.core.$strict>, z.ZodObject<{
123
+ kind: z.ZodLiteral<"named">;
124
+ name: z.ZodString;
125
+ }, z.core.$strict>]>;
126
+ }, z.core.$strict>;
127
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
128
+ }, z.core.$strict>;
129
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
130
+ }, z.core.$strict>]>;
131
+ position: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
132
+ relation: z.ZodEnum<{
133
+ before: "before";
134
+ after: "after";
135
+ }>;
136
+ anchorKey: z.ZodString;
137
+ }, z.core.$strip>, z.ZodObject<{
138
+ relation: z.ZodEnum<{
139
+ prepend: "prepend";
140
+ append: "append";
141
+ }>;
142
+ parentKey: z.ZodString;
143
+ }, z.core.$strip>, z.ZodObject<{
144
+ kind: z.ZodLiteral<"page-composition">;
145
+ placementKey: z.ZodString;
146
+ documentVersion: z.ZodNumber;
147
+ routeId: z.ZodString;
148
+ placementUnitKey: z.ZodString;
149
+ relation: z.ZodEnum<{
150
+ before: "before";
151
+ after: "after";
152
+ prepend: "prepend";
153
+ append: "append";
154
+ }>;
155
+ }, z.core.$strict>]>, z.ZodObject<{
156
+ kind: z.ZodLiteral<"page-composition">;
157
+ placementKey: z.ZodString;
158
+ documentVersion: z.ZodNumber;
159
+ }, z.core.$strict>]>;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ kind: z.ZodLiteral<"move-node">;
162
+ target: z.ZodUnion<readonly [z.ZodObject<{
163
+ relation: z.ZodEnum<{
164
+ before: "before";
165
+ after: "after";
166
+ }>;
167
+ anchorKey: z.ZodString;
168
+ }, z.core.$strip>, z.ZodObject<{
169
+ relation: z.ZodEnum<{
170
+ prepend: "prepend";
171
+ append: "append";
172
+ }>;
173
+ parentKey: z.ZodString;
174
+ }, z.core.$strip>, z.ZodObject<{
175
+ kind: z.ZodLiteral<"page-composition">;
176
+ placementKey: z.ZodString;
177
+ documentVersion: z.ZodNumber;
178
+ routeId: z.ZodString;
179
+ placementUnitKey: z.ZodString;
180
+ relation: z.ZodEnum<{
181
+ before: "before";
182
+ after: "after";
183
+ prepend: "prepend";
184
+ append: "append";
185
+ }>;
186
+ }, z.core.$strict>]>;
187
+ preserveBindings: z.ZodOptional<z.ZodBoolean>;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ kind: z.ZodLiteral<"set-class-name-source">;
190
+ routeId: z.ZodOptional<z.ZodString>;
191
+ filePath: z.ZodString;
192
+ expectedVersion: z.ZodObject<{
193
+ documentVersion: z.ZodNumber;
194
+ contentHash: z.ZodString;
195
+ }, z.core.$strip>;
196
+ oldAttrRaw: z.ZodNullable<z.ZodString>;
197
+ oldAttrRange: z.ZodNullable<z.ZodObject<{
198
+ start: z.ZodNumber;
199
+ end: z.ZodNumber;
200
+ }, z.core.$strip>>;
201
+ openingElementRange: z.ZodObject<{
202
+ start: z.ZodNumber;
203
+ end: z.ZodNumber;
204
+ }, z.core.$strip>;
205
+ newAttrRaw: z.ZodNullable<z.ZodString>;
206
+ intent: z.ZodObject<{
207
+ source: z.ZodEnum<{
208
+ "style-panel": "style-panel";
209
+ "class-source-editor": "class-source-editor";
210
+ }>;
211
+ operation: z.ZodEnum<{
212
+ "replace-static-classname": "replace-static-classname";
213
+ "replace-expression": "replace-expression";
214
+ "create-attribute": "create-attribute";
215
+ "remove-attribute": "remove-attribute";
216
+ }>;
217
+ }, z.core.$strip>;
218
+ }, z.core.$strip>, z.ZodObject<{
219
+ kind: z.ZodLiteral<"set-props">;
220
+ props: z.ZodRecord<z.ZodEnum<{
221
+ src: "src";
222
+ alt: "alt";
223
+ poster: "poster";
224
+ href: "href";
225
+ width: "width";
226
+ height: "height";
227
+ }> & z.core.$partial, z.ZodString>;
228
+ }, z.core.$strip>, z.ZodObject<{
229
+ kind: z.ZodLiteral<"apply-style-draft">;
230
+ className: z.ZodOptional<z.ZodObject<{
231
+ routeId: z.ZodOptional<z.ZodString>;
232
+ filePath: z.ZodString;
233
+ expectedVersion: z.ZodObject<{
234
+ documentVersion: z.ZodNumber;
235
+ contentHash: z.ZodString;
236
+ }, z.core.$strip>;
237
+ oldAttrRaw: z.ZodNullable<z.ZodString>;
238
+ oldAttrRange: z.ZodNullable<z.ZodObject<{
239
+ start: z.ZodNumber;
240
+ end: z.ZodNumber;
241
+ }, z.core.$strip>>;
242
+ openingElementRange: z.ZodObject<{
243
+ start: z.ZodNumber;
244
+ end: z.ZodNumber;
245
+ }, z.core.$strip>;
246
+ newAttrRaw: z.ZodNullable<z.ZodString>;
247
+ intent: z.ZodObject<{
248
+ source: z.ZodEnum<{
249
+ "style-panel": "style-panel";
250
+ "class-source-editor": "class-source-editor";
251
+ }>;
252
+ operation: z.ZodEnum<{
253
+ "replace-static-classname": "replace-static-classname";
254
+ "replace-expression": "replace-expression";
255
+ "create-attribute": "create-attribute";
256
+ "remove-attribute": "remove-attribute";
257
+ }>;
258
+ }, z.core.$strip>;
259
+ }, z.core.$strip>>;
260
+ props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
261
+ src: "src";
262
+ alt: "alt";
263
+ poster: "poster";
264
+ href: "href";
265
+ width: "width";
266
+ height: "height";
267
+ }> & z.core.$partial, z.ZodString>>;
268
+ }, z.core.$strip>, z.ZodObject<{
269
+ kind: z.ZodLiteral<"source-edit">;
270
+ conflictPolicy: z.ZodEnum<{
271
+ "compare-and-swap": "compare-and-swap";
272
+ overwrite: "overwrite";
273
+ }>;
274
+ edits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
275
+ operation: z.ZodLiteral<"upsert">;
276
+ path: z.ZodString;
277
+ content: z.ZodString;
278
+ baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ }, z.core.$strict>, z.ZodObject<{
280
+ operation: z.ZodLiteral<"delete">;
281
+ path: z.ZodString;
282
+ capability: z.ZodLiteral<"source-delete">;
283
+ confirmDelete: z.ZodLiteral<true>;
284
+ confirmPath: z.ZodString;
285
+ baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
286
+ }, z.core.$strict>], "operation">>;
287
+ reason: z.ZodOptional<z.ZodString>;
288
+ }, z.core.$strict>, z.ZodObject<{
289
+ kind: z.ZodLiteral<"insert-page-resource">;
290
+ artifact: z.ZodObject<{
291
+ resource_id: z.ZodString;
292
+ resource_type: z.ZodEnum<{
293
+ pages: "pages";
294
+ page: "page";
295
+ }>;
296
+ resolved_version: z.ZodNumber;
297
+ revision_id: z.ZodOptional<z.ZodString>;
298
+ digest_sha256: z.ZodString;
299
+ components: z.ZodArray<z.ZodObject<{
300
+ component_id: z.ZodString;
301
+ materialization: z.ZodObject<{
302
+ instanceBaseName: z.ZodString;
303
+ files: z.ZodArray<z.ZodObject<{
304
+ pathTemplate: z.ZodString;
305
+ content: z.ZodString;
306
+ role: z.ZodOptional<z.ZodString>;
307
+ }, z.core.$strict>>;
308
+ entry: z.ZodObject<{
309
+ pathTemplate: z.ZodString;
310
+ export: z.ZodUnion<readonly [z.ZodObject<{
311
+ kind: z.ZodLiteral<"default">;
312
+ }, z.core.$strict>, z.ZodObject<{
313
+ kind: z.ZodLiteral<"named">;
314
+ name: z.ZodString;
315
+ }, z.core.$strict>]>;
316
+ }, z.core.$strict>;
317
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
318
+ }, z.core.$strict>;
319
+ }, z.core.$strict>>;
320
+ pages: z.ZodArray<z.ZodObject<{
321
+ template_page_id: z.ZodString;
322
+ title: z.ZodString;
323
+ final_route: z.ZodString;
324
+ materialization: z.ZodObject<{
325
+ instanceBaseName: z.ZodString;
326
+ files: z.ZodArray<z.ZodObject<{
327
+ pathTemplate: z.ZodString;
328
+ content: z.ZodString;
329
+ role: z.ZodOptional<z.ZodString>;
330
+ }, z.core.$strict>>;
331
+ entry: z.ZodObject<{
332
+ pathTemplate: z.ZodString;
333
+ export: z.ZodUnion<readonly [z.ZodObject<{
334
+ kind: z.ZodLiteral<"default">;
335
+ }, z.core.$strict>, z.ZodObject<{
336
+ kind: z.ZodLiteral<"named">;
337
+ name: z.ZodString;
338
+ }, z.core.$strict>]>;
339
+ }, z.core.$strict>;
340
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
341
+ }, z.core.$strict>;
342
+ components: z.ZodArray<z.ZodObject<{
343
+ instance_id: z.ZodString;
344
+ component_id: z.ZodString;
345
+ }, z.core.$strict>>;
346
+ }, z.core.$strict>>;
347
+ project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
348
+ }, z.core.$strict>;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ kind: z.ZodLiteral<"delete-page-source">;
351
+ expectedUrlPath: z.ZodString;
352
+ }, z.core.$strict>], "kind">;
353
+ }, z.core.$strip>;
354
+ navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ kind: z.ZodLiteral<"none">;
356
+ }, z.core.$strict>, z.ZodObject<{
357
+ kind: z.ZodLiteral<"primary">;
358
+ items: z.ZodArray<z.ZodObject<{
359
+ label: z.ZodString;
360
+ href: z.ZodString;
361
+ }, z.core.$strict>>;
362
+ }, z.core.$strict>], "kind">>;
363
+ }, z.core.$strict>;
364
+ export type WorkspaceResourceOperationTransientInput = z.infer<typeof WorkspaceResourceOperationTransientInputSchema>;
365
+ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<{
366
+ id: z.ZodString;
367
+ tenant_id: z.ZodString;
368
+ site_id: z.ZodString;
369
+ run_id: z.ZodOptional<z.ZodString>;
370
+ correlation_id: z.ZodOptional<z.ZodString>;
371
+ sent_at: z.ZodString;
372
+ type: z.ZodLiteral<"client.resource.operation.create">;
373
+ payload: z.ZodObject<{
374
+ client_message_id: z.ZodString;
375
+ display: z.ZodObject<{
376
+ resource_kind: z.ZodEnum<{
377
+ pages: "pages";
378
+ page: "page";
379
+ component: "component";
380
+ }>;
381
+ resource_name: z.ZodString;
382
+ file_count: z.ZodNumber;
383
+ total_bytes: z.ZodNumber;
384
+ content_digest: z.ZodString;
385
+ custom_prompt: z.ZodOptional<z.ZodString>;
386
+ final_routes: z.ZodArray<z.ZodString>;
387
+ }, z.core.$strict>;
388
+ transient_resource_input: z.ZodObject<{
389
+ base_snapshot_id: z.ZodString;
390
+ operation: z.ZodObject<{
391
+ id: z.ZodString;
392
+ siteId: z.ZodUUID;
393
+ baseSnapshotId: z.ZodUUID;
394
+ routeId: z.ZodOptional<z.ZodString>;
395
+ kind: z.ZodEnum<{
396
+ "insert-child": "insert-child";
397
+ "update-text": "update-text";
398
+ "update-array-item": "update-array-item";
399
+ "remove-node": "remove-node";
400
+ "move-node": "move-node";
401
+ "set-class-name-source": "set-class-name-source";
402
+ "set-props": "set-props";
403
+ "apply-style-draft": "apply-style-draft";
404
+ "source-edit": "source-edit";
405
+ "insert-page-resource": "insert-page-resource";
406
+ "delete-page-source": "delete-page-source";
407
+ }>;
408
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
409
+ kind: z.ZodLiteral<"node">;
410
+ key: z.ZodString;
411
+ }, z.core.$strip>, z.ZodObject<{
412
+ kind: z.ZodLiteral<"page-unit">;
413
+ routeId: z.ZodString;
414
+ placementUnitKey: z.ZodString;
415
+ }, z.core.$strict>, z.ZodObject<{
416
+ kind: z.ZodLiteral<"route">;
417
+ routeId: z.ZodString;
418
+ }, z.core.$strip>, z.ZodObject<{
419
+ kind: z.ZodLiteral<"source-file">;
420
+ path: z.ZodString;
421
+ }, z.core.$strip>, z.ZodObject<{
422
+ kind: z.ZodLiteral<"source-batch">;
423
+ paths: z.ZodArray<z.ZodString>;
424
+ }, z.core.$strip>, z.ZodObject<{
425
+ kind: z.ZodLiteral<"project">;
426
+ }, z.core.$strict>], "kind">;
427
+ documentVersion: z.ZodNumber;
428
+ selectionRef: z.ZodOptional<z.ZodObject<{
429
+ key: z.ZodString;
430
+ instanceIndex: z.ZodOptional<z.ZodNumber>;
431
+ instanceCount: z.ZodOptional<z.ZodNumber>;
432
+ }, z.core.$strip>>;
433
+ mutationContext: z.ZodOptional<z.ZodObject<{
434
+ editingSessionId: z.ZodString;
435
+ lockId: z.ZodString;
436
+ ownerId: z.ZodString;
437
+ leaseAssertion: z.ZodString;
438
+ }, z.core.$strict>>;
439
+ params: z.ZodDiscriminatedUnion<[z.ZodObject<{
440
+ kind: z.ZodLiteral<"update-text">;
441
+ segmentIndex: z.ZodNumber;
442
+ value: z.ZodString;
443
+ }, z.core.$strip>, z.ZodObject<{
444
+ kind: z.ZodLiteral<"update-array-item">;
445
+ segmentIndex: z.ZodNumber;
446
+ index: z.ZodNumber;
447
+ value: z.ZodString;
448
+ }, z.core.$strip>, z.ZodObject<{
449
+ kind: z.ZodLiteral<"remove-node">;
450
+ }, z.core.$strip>, z.ZodObject<{
451
+ kind: z.ZodLiteral<"insert-child">;
452
+ node: z.ZodUnion<readonly [z.ZodObject<{
453
+ kind: z.ZodLiteral<"native-tag">;
454
+ tag: z.ZodString;
455
+ text: z.ZodOptional<z.ZodString>;
456
+ }, z.core.$strip>, z.ZodObject<{
457
+ kind: z.ZodLiteral<"component-call">;
458
+ component: z.ZodObject<{
459
+ source: z.ZodString;
460
+ exportName: z.ZodString;
461
+ }, z.core.$strip>;
462
+ materialization: z.ZodOptional<z.ZodNever>;
463
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
464
+ }, z.core.$strict>, z.ZodObject<{
465
+ kind: z.ZodLiteral<"component-call">;
466
+ component: z.ZodOptional<z.ZodNever>;
467
+ materialization: z.ZodObject<{
468
+ instanceBaseName: z.ZodString;
469
+ files: z.ZodArray<z.ZodObject<{
470
+ pathTemplate: z.ZodString;
471
+ content: z.ZodString;
472
+ role: z.ZodOptional<z.ZodString>;
473
+ }, z.core.$strict>>;
474
+ entry: z.ZodObject<{
475
+ pathTemplate: z.ZodString;
476
+ export: z.ZodUnion<readonly [z.ZodObject<{
477
+ kind: z.ZodLiteral<"default">;
478
+ }, z.core.$strict>, z.ZodObject<{
479
+ kind: z.ZodLiteral<"named">;
480
+ name: z.ZodString;
481
+ }, z.core.$strict>]>;
482
+ }, z.core.$strict>;
483
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
484
+ }, z.core.$strict>;
485
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
486
+ }, z.core.$strict>]>;
487
+ position: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
488
+ relation: z.ZodEnum<{
489
+ before: "before";
490
+ after: "after";
491
+ }>;
492
+ anchorKey: z.ZodString;
493
+ }, z.core.$strip>, z.ZodObject<{
494
+ relation: z.ZodEnum<{
495
+ prepend: "prepend";
496
+ append: "append";
497
+ }>;
498
+ parentKey: z.ZodString;
499
+ }, z.core.$strip>, z.ZodObject<{
500
+ kind: z.ZodLiteral<"page-composition">;
501
+ placementKey: z.ZodString;
502
+ documentVersion: z.ZodNumber;
503
+ routeId: z.ZodString;
504
+ placementUnitKey: z.ZodString;
505
+ relation: z.ZodEnum<{
506
+ before: "before";
507
+ after: "after";
508
+ prepend: "prepend";
509
+ append: "append";
510
+ }>;
511
+ }, z.core.$strict>]>, z.ZodObject<{
512
+ kind: z.ZodLiteral<"page-composition">;
513
+ placementKey: z.ZodString;
514
+ documentVersion: z.ZodNumber;
515
+ }, z.core.$strict>]>;
516
+ }, z.core.$strip>, z.ZodObject<{
517
+ kind: z.ZodLiteral<"move-node">;
518
+ target: z.ZodUnion<readonly [z.ZodObject<{
519
+ relation: z.ZodEnum<{
520
+ before: "before";
521
+ after: "after";
522
+ }>;
523
+ anchorKey: z.ZodString;
524
+ }, z.core.$strip>, z.ZodObject<{
525
+ relation: z.ZodEnum<{
526
+ prepend: "prepend";
527
+ append: "append";
528
+ }>;
529
+ parentKey: z.ZodString;
530
+ }, z.core.$strip>, z.ZodObject<{
531
+ kind: z.ZodLiteral<"page-composition">;
532
+ placementKey: z.ZodString;
533
+ documentVersion: z.ZodNumber;
534
+ routeId: z.ZodString;
535
+ placementUnitKey: z.ZodString;
536
+ relation: z.ZodEnum<{
537
+ before: "before";
538
+ after: "after";
539
+ prepend: "prepend";
540
+ append: "append";
541
+ }>;
542
+ }, z.core.$strict>]>;
543
+ preserveBindings: z.ZodOptional<z.ZodBoolean>;
544
+ }, z.core.$strip>, z.ZodObject<{
545
+ kind: z.ZodLiteral<"set-class-name-source">;
546
+ routeId: z.ZodOptional<z.ZodString>;
547
+ filePath: z.ZodString;
548
+ expectedVersion: z.ZodObject<{
549
+ documentVersion: z.ZodNumber;
550
+ contentHash: z.ZodString;
551
+ }, z.core.$strip>;
552
+ oldAttrRaw: z.ZodNullable<z.ZodString>;
553
+ oldAttrRange: z.ZodNullable<z.ZodObject<{
554
+ start: z.ZodNumber;
555
+ end: z.ZodNumber;
556
+ }, z.core.$strip>>;
557
+ openingElementRange: z.ZodObject<{
558
+ start: z.ZodNumber;
559
+ end: z.ZodNumber;
560
+ }, z.core.$strip>;
561
+ newAttrRaw: z.ZodNullable<z.ZodString>;
562
+ intent: z.ZodObject<{
563
+ source: z.ZodEnum<{
564
+ "style-panel": "style-panel";
565
+ "class-source-editor": "class-source-editor";
566
+ }>;
567
+ operation: z.ZodEnum<{
568
+ "replace-static-classname": "replace-static-classname";
569
+ "replace-expression": "replace-expression";
570
+ "create-attribute": "create-attribute";
571
+ "remove-attribute": "remove-attribute";
572
+ }>;
573
+ }, z.core.$strip>;
574
+ }, z.core.$strip>, z.ZodObject<{
575
+ kind: z.ZodLiteral<"set-props">;
576
+ props: z.ZodRecord<z.ZodEnum<{
577
+ src: "src";
578
+ alt: "alt";
579
+ poster: "poster";
580
+ href: "href";
581
+ width: "width";
582
+ height: "height";
583
+ }> & z.core.$partial, z.ZodString>;
584
+ }, z.core.$strip>, z.ZodObject<{
585
+ kind: z.ZodLiteral<"apply-style-draft">;
586
+ className: z.ZodOptional<z.ZodObject<{
587
+ routeId: z.ZodOptional<z.ZodString>;
588
+ filePath: z.ZodString;
589
+ expectedVersion: z.ZodObject<{
590
+ documentVersion: z.ZodNumber;
591
+ contentHash: z.ZodString;
592
+ }, z.core.$strip>;
593
+ oldAttrRaw: z.ZodNullable<z.ZodString>;
594
+ oldAttrRange: z.ZodNullable<z.ZodObject<{
595
+ start: z.ZodNumber;
596
+ end: z.ZodNumber;
597
+ }, z.core.$strip>>;
598
+ openingElementRange: z.ZodObject<{
599
+ start: z.ZodNumber;
600
+ end: z.ZodNumber;
601
+ }, z.core.$strip>;
602
+ newAttrRaw: z.ZodNullable<z.ZodString>;
603
+ intent: z.ZodObject<{
604
+ source: z.ZodEnum<{
605
+ "style-panel": "style-panel";
606
+ "class-source-editor": "class-source-editor";
607
+ }>;
608
+ operation: z.ZodEnum<{
609
+ "replace-static-classname": "replace-static-classname";
610
+ "replace-expression": "replace-expression";
611
+ "create-attribute": "create-attribute";
612
+ "remove-attribute": "remove-attribute";
613
+ }>;
614
+ }, z.core.$strip>;
615
+ }, z.core.$strip>>;
616
+ props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
617
+ src: "src";
618
+ alt: "alt";
619
+ poster: "poster";
620
+ href: "href";
621
+ width: "width";
622
+ height: "height";
623
+ }> & z.core.$partial, z.ZodString>>;
624
+ }, z.core.$strip>, z.ZodObject<{
625
+ kind: z.ZodLiteral<"source-edit">;
626
+ conflictPolicy: z.ZodEnum<{
627
+ "compare-and-swap": "compare-and-swap";
628
+ overwrite: "overwrite";
629
+ }>;
630
+ edits: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
631
+ operation: z.ZodLiteral<"upsert">;
632
+ path: z.ZodString;
633
+ content: z.ZodString;
634
+ baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
635
+ }, z.core.$strict>, z.ZodObject<{
636
+ operation: z.ZodLiteral<"delete">;
637
+ path: z.ZodString;
638
+ capability: z.ZodLiteral<"source-delete">;
639
+ confirmDelete: z.ZodLiteral<true>;
640
+ confirmPath: z.ZodString;
641
+ baseContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
642
+ }, z.core.$strict>], "operation">>;
643
+ reason: z.ZodOptional<z.ZodString>;
644
+ }, z.core.$strict>, z.ZodObject<{
645
+ kind: z.ZodLiteral<"insert-page-resource">;
646
+ artifact: z.ZodObject<{
647
+ resource_id: z.ZodString;
648
+ resource_type: z.ZodEnum<{
649
+ pages: "pages";
650
+ page: "page";
651
+ }>;
652
+ resolved_version: z.ZodNumber;
653
+ revision_id: z.ZodOptional<z.ZodString>;
654
+ digest_sha256: z.ZodString;
655
+ components: z.ZodArray<z.ZodObject<{
656
+ component_id: z.ZodString;
657
+ materialization: z.ZodObject<{
658
+ instanceBaseName: z.ZodString;
659
+ files: z.ZodArray<z.ZodObject<{
660
+ pathTemplate: z.ZodString;
661
+ content: z.ZodString;
662
+ role: z.ZodOptional<z.ZodString>;
663
+ }, z.core.$strict>>;
664
+ entry: z.ZodObject<{
665
+ pathTemplate: z.ZodString;
666
+ export: z.ZodUnion<readonly [z.ZodObject<{
667
+ kind: z.ZodLiteral<"default">;
668
+ }, z.core.$strict>, z.ZodObject<{
669
+ kind: z.ZodLiteral<"named">;
670
+ name: z.ZodString;
671
+ }, z.core.$strict>]>;
672
+ }, z.core.$strict>;
673
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
674
+ }, z.core.$strict>;
675
+ }, z.core.$strict>>;
676
+ pages: z.ZodArray<z.ZodObject<{
677
+ template_page_id: z.ZodString;
678
+ title: z.ZodString;
679
+ final_route: z.ZodString;
680
+ materialization: z.ZodObject<{
681
+ instanceBaseName: z.ZodString;
682
+ files: z.ZodArray<z.ZodObject<{
683
+ pathTemplate: z.ZodString;
684
+ content: z.ZodString;
685
+ role: z.ZodOptional<z.ZodString>;
686
+ }, z.core.$strict>>;
687
+ entry: z.ZodObject<{
688
+ pathTemplate: z.ZodString;
689
+ export: z.ZodUnion<readonly [z.ZodObject<{
690
+ kind: z.ZodLiteral<"default">;
691
+ }, z.core.$strict>, z.ZodObject<{
692
+ kind: z.ZodLiteral<"named">;
693
+ name: z.ZodString;
694
+ }, z.core.$strict>]>;
695
+ }, z.core.$strict>;
696
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
697
+ }, z.core.$strict>;
698
+ components: z.ZodArray<z.ZodObject<{
699
+ instance_id: z.ZodString;
700
+ component_id: z.ZodString;
701
+ }, z.core.$strict>>;
702
+ }, z.core.$strict>>;
703
+ project_dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
704
+ }, z.core.$strict>;
705
+ }, z.core.$strict>, z.ZodObject<{
706
+ kind: z.ZodLiteral<"delete-page-source">;
707
+ expectedUrlPath: z.ZodString;
708
+ }, z.core.$strict>], "kind">;
709
+ }, z.core.$strip>;
710
+ navigation_selection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
711
+ kind: z.ZodLiteral<"none">;
712
+ }, z.core.$strict>, z.ZodObject<{
713
+ kind: z.ZodLiteral<"primary">;
714
+ items: z.ZodArray<z.ZodObject<{
715
+ label: z.ZodString;
716
+ href: z.ZodString;
717
+ }, z.core.$strict>>;
718
+ }, z.core.$strict>], "kind">>;
719
+ }, z.core.$strict>;
720
+ }, z.core.$strict>;
721
+ }, z.core.$strict>;
722
+ export type WorkspaceResourceOperationClientMessage = z.infer<typeof WorkspaceResourceOperationClientMessageSchema>;