@vcp-dev/contracts 0.3.14

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.
@@ -0,0 +1,987 @@
1
+ import { z } from "zod";
2
+ export declare const SiteEditOperationSummarySchema: z.ZodObject<{
3
+ canUpdateText: z.ZodBoolean;
4
+ canInsertChild: z.ZodBoolean;
5
+ canMove: z.ZodBoolean;
6
+ canRemove: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ export type SiteEditOperationSummary = z.infer<typeof SiteEditOperationSummarySchema>;
9
+ export declare const SiteEditRenderEntrySchema: z.ZodObject<{
10
+ key: z.ZodString;
11
+ tag: z.ZodString;
12
+ label: z.ZodString;
13
+ parentKey: z.ZodNullable<z.ZodString>;
14
+ childKeys: z.ZodArray<z.ZodString>;
15
+ operationSummary: z.ZodObject<{
16
+ canUpdateText: z.ZodBoolean;
17
+ canInsertChild: z.ZodBoolean;
18
+ canMove: z.ZodBoolean;
19
+ canRemove: z.ZodBoolean;
20
+ }, z.core.$strip>;
21
+ }, z.core.$strip>;
22
+ export type SiteEditRenderEntry = z.infer<typeof SiteEditRenderEntrySchema>;
23
+ export declare const SiteEditRenderDocumentSchema: z.ZodObject<{
24
+ siteId: z.ZodString;
25
+ snapshotId: z.ZodString;
26
+ routeId: z.ZodString;
27
+ version: z.ZodNumber;
28
+ rootKeys: z.ZodArray<z.ZodString>;
29
+ entries: z.ZodArray<z.ZodObject<{
30
+ key: z.ZodString;
31
+ tag: z.ZodString;
32
+ label: z.ZodString;
33
+ parentKey: z.ZodNullable<z.ZodString>;
34
+ childKeys: z.ZodArray<z.ZodString>;
35
+ operationSummary: z.ZodObject<{
36
+ canUpdateText: z.ZodBoolean;
37
+ canInsertChild: z.ZodBoolean;
38
+ canMove: z.ZodBoolean;
39
+ canRemove: z.ZodBoolean;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>>;
42
+ }, z.core.$strip>;
43
+ export type SiteEditRenderDocument = z.infer<typeof SiteEditRenderDocumentSchema>;
44
+ export declare const SiteEditExternalSourceKindSchema: z.ZodEnum<{
45
+ "api-field": "api-field";
46
+ "cms-field": "cms-field";
47
+ "i18n-message": "i18n-message";
48
+ "config-entry": "config-entry";
49
+ }>;
50
+ export type SiteEditExternalSourceKind = z.infer<typeof SiteEditExternalSourceKindSchema>;
51
+ export declare const SiteEditTextSourceSchema: z.ZodObject<{
52
+ kind: z.ZodEnum<{
53
+ literal: "literal";
54
+ binding: "binding";
55
+ "imported-binding": "imported-binding";
56
+ "repeat-template": "repeat-template";
57
+ }>;
58
+ file: z.ZodString;
59
+ expression: z.ZodString;
60
+ bindingName: z.ZodOptional<z.ZodString>;
61
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
62
+ }, z.core.$strip>;
63
+ export type SiteEditTextSource = z.infer<typeof SiteEditTextSourceSchema>;
64
+ export declare const SiteEditTextSegmentSchema: z.ZodObject<{
65
+ index: z.ZodNumber;
66
+ value: z.ZodString;
67
+ editable: z.ZodBoolean;
68
+ source: z.ZodNullable<z.ZodObject<{
69
+ kind: z.ZodEnum<{
70
+ literal: "literal";
71
+ binding: "binding";
72
+ "imported-binding": "imported-binding";
73
+ "repeat-template": "repeat-template";
74
+ }>;
75
+ file: z.ZodString;
76
+ expression: z.ZodString;
77
+ bindingName: z.ZodOptional<z.ZodString>;
78
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
79
+ }, z.core.$strip>>;
80
+ }, z.core.$strip>;
81
+ export type SiteEditTextSegment = z.infer<typeof SiteEditTextSegmentSchema>;
82
+ export declare const SiteEditRenderEntryRefSchema: z.ZodObject<{
83
+ key: z.ZodString;
84
+ label: z.ZodString;
85
+ tag: z.ZodString;
86
+ }, z.core.$strip>;
87
+ export type SiteEditRenderEntryRef = z.infer<typeof SiteEditRenderEntryRefSchema>;
88
+ export declare const SiteEditObjectCapabilitiesSchema: z.ZodObject<{
89
+ key: z.ZodString;
90
+ canUpdateText: z.ZodBoolean;
91
+ canInsertChild: z.ZodBoolean;
92
+ canMove: z.ZodBoolean;
93
+ canRemove: z.ZodBoolean;
94
+ boundaryKind: z.ZodNullable<z.ZodEnum<{
95
+ "component-boundary": "component-boundary";
96
+ "repeat-region": "repeat-region";
97
+ "conditional-region": "conditional-region";
98
+ "fragment-region": "fragment-region";
99
+ "opaque-region": "opaque-region";
100
+ }>>;
101
+ isOpaque: z.ZodBoolean;
102
+ }, z.core.$strip>;
103
+ export type SiteEditObjectCapabilities = z.infer<typeof SiteEditObjectCapabilitiesSchema>;
104
+ export declare const SiteEditWriteTargetSchema: z.ZodObject<{
105
+ kind: z.ZodEnum<{
106
+ "jsx-node": "jsx-node";
107
+ "component-proxy": "component-proxy";
108
+ "value-binding": "value-binding";
109
+ "route-export": "route-export";
110
+ }>;
111
+ file: z.ZodString;
112
+ componentName: z.ZodString;
113
+ isProxy: z.ZodBoolean;
114
+ }, z.core.$strip>;
115
+ export type SiteEditWriteTarget = z.infer<typeof SiteEditWriteTargetSchema>;
116
+ export declare const SiteEditEffectiveWriteTargetSchema: z.ZodObject<{
117
+ kind: z.ZodEnum<{
118
+ "jsx-node": "jsx-node";
119
+ "route-export": "route-export";
120
+ "value-path": "value-path";
121
+ "external-entry": "external-entry";
122
+ }>;
123
+ file: z.ZodOptional<z.ZodString>;
124
+ isProxy: z.ZodBoolean;
125
+ displayPath: z.ZodOptional<z.ZodString>;
126
+ sourceType: z.ZodOptional<z.ZodEnum<{
127
+ "api-field": "api-field";
128
+ "cms-field": "cms-field";
129
+ "i18n-message": "i18n-message";
130
+ "config-entry": "config-entry";
131
+ }>>;
132
+ sourceId: z.ZodOptional<z.ZodString>;
133
+ }, z.core.$strip>;
134
+ export type SiteEditEffectiveWriteTarget = z.infer<typeof SiteEditEffectiveWriteTargetSchema>;
135
+ export declare const SiteEditSemanticSourceSchema: z.ZodObject<{
136
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
137
+ binding: "binding";
138
+ "imported-binding": "imported-binding";
139
+ "repeat-template": "repeat-template";
140
+ "jsx-literal": "jsx-literal";
141
+ "component-prop": "component-prop";
142
+ "object-field": "object-field";
143
+ "array-item": "array-item";
144
+ "conditional-branch": "conditional-branch";
145
+ }>, z.ZodEnum<{
146
+ "api-field": "api-field";
147
+ "cms-field": "cms-field";
148
+ "i18n-message": "i18n-message";
149
+ "config-entry": "config-entry";
150
+ }>]>;
151
+ file: z.ZodString;
152
+ displayPath: z.ZodString;
153
+ externalSource: z.ZodOptional<z.ZodObject<{
154
+ sourceType: z.ZodEnum<{
155
+ "api-field": "api-field";
156
+ "cms-field": "cms-field";
157
+ "i18n-message": "i18n-message";
158
+ "config-entry": "config-entry";
159
+ }>;
160
+ sourceId: z.ZodString;
161
+ adapterId: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strip>>;
163
+ }, z.core.$strip>;
164
+ export type SiteEditSemanticSource = z.infer<typeof SiteEditSemanticSourceSchema>;
165
+ export declare const SiteEditProvenanceHopSchema: z.ZodObject<{
166
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
167
+ binding: "binding";
168
+ "imported-binding": "imported-binding";
169
+ "repeat-template": "repeat-template";
170
+ "jsx-literal": "jsx-literal";
171
+ "component-prop": "component-prop";
172
+ "object-field": "object-field";
173
+ "array-item": "array-item";
174
+ "conditional-branch": "conditional-branch";
175
+ }>, z.ZodEnum<{
176
+ "api-field": "api-field";
177
+ "cms-field": "cms-field";
178
+ "i18n-message": "i18n-message";
179
+ "config-entry": "config-entry";
180
+ }>]>;
181
+ file: z.ZodString;
182
+ displayName: z.ZodString;
183
+ canEditHere: z.ZodBoolean;
184
+ }, z.core.$strip>;
185
+ export type SiteEditProvenanceHop = z.infer<typeof SiteEditProvenanceHopSchema>;
186
+ export declare const SiteEditProvenanceChainSchema: z.ZodObject<{
187
+ finalSource: z.ZodNullable<z.ZodObject<{
188
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
189
+ binding: "binding";
190
+ "imported-binding": "imported-binding";
191
+ "repeat-template": "repeat-template";
192
+ "jsx-literal": "jsx-literal";
193
+ "component-prop": "component-prop";
194
+ "object-field": "object-field";
195
+ "array-item": "array-item";
196
+ "conditional-branch": "conditional-branch";
197
+ }>, z.ZodEnum<{
198
+ "api-field": "api-field";
199
+ "cms-field": "cms-field";
200
+ "i18n-message": "i18n-message";
201
+ "config-entry": "config-entry";
202
+ }>]>;
203
+ file: z.ZodString;
204
+ displayPath: z.ZodString;
205
+ externalSource: z.ZodOptional<z.ZodObject<{
206
+ sourceType: z.ZodEnum<{
207
+ "api-field": "api-field";
208
+ "cms-field": "cms-field";
209
+ "i18n-message": "i18n-message";
210
+ "config-entry": "config-entry";
211
+ }>;
212
+ sourceId: z.ZodString;
213
+ adapterId: z.ZodOptional<z.ZodString>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>>;
216
+ chain: z.ZodArray<z.ZodObject<{
217
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
218
+ binding: "binding";
219
+ "imported-binding": "imported-binding";
220
+ "repeat-template": "repeat-template";
221
+ "jsx-literal": "jsx-literal";
222
+ "component-prop": "component-prop";
223
+ "object-field": "object-field";
224
+ "array-item": "array-item";
225
+ "conditional-branch": "conditional-branch";
226
+ }>, z.ZodEnum<{
227
+ "api-field": "api-field";
228
+ "cms-field": "cms-field";
229
+ "i18n-message": "i18n-message";
230
+ "config-entry": "config-entry";
231
+ }>]>;
232
+ file: z.ZodString;
233
+ displayName: z.ZodString;
234
+ canEditHere: z.ZodBoolean;
235
+ }, z.core.$strip>>;
236
+ confidence: z.ZodEnum<{
237
+ unknown: "unknown";
238
+ exact: "exact";
239
+ "safe-derived": "safe-derived";
240
+ partial: "partial";
241
+ }>;
242
+ editMode: z.ZodEnum<{
243
+ readonly: "readonly";
244
+ direct: "direct";
245
+ proxy: "proxy";
246
+ upstream: "upstream";
247
+ unsupported: "unsupported";
248
+ }>;
249
+ diagnostics: z.ZodArray<z.ZodObject<{
250
+ code: z.ZodString;
251
+ message: z.ZodString;
252
+ }, z.core.$strip>>;
253
+ }, z.core.$strip>;
254
+ export type SiteEditProvenanceChain = z.infer<typeof SiteEditProvenanceChainSchema>;
255
+ export declare const SiteEditStyleModelSchema: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodObject<{
256
+ kind: z.ZodLiteral<"css-style-model">;
257
+ properties: z.ZodArray<z.ZodObject<{
258
+ property: z.ZodEnum<{
259
+ color: "color";
260
+ transform: "transform";
261
+ width: "width";
262
+ height: "height";
263
+ display: "display";
264
+ position: "position";
265
+ top: "top";
266
+ right: "right";
267
+ bottom: "bottom";
268
+ left: "left";
269
+ zIndex: "zIndex";
270
+ flexDirection: "flexDirection";
271
+ flexWrap: "flexWrap";
272
+ flexGrow: "flexGrow";
273
+ flexShrink: "flexShrink";
274
+ flexBasis: "flexBasis";
275
+ order: "order";
276
+ gridTemplateColumns: "gridTemplateColumns";
277
+ gridTemplateRows: "gridTemplateRows";
278
+ columns: "columns";
279
+ gridColumn: "gridColumn";
280
+ gridRow: "gridRow";
281
+ gap: "gap";
282
+ gapX: "gapX";
283
+ gapY: "gapY";
284
+ spaceX: "spaceX";
285
+ spaceY: "spaceY";
286
+ alignItems: "alignItems";
287
+ justifyContent: "justifyContent";
288
+ marginTop: "marginTop";
289
+ marginRight: "marginRight";
290
+ marginBottom: "marginBottom";
291
+ marginLeft: "marginLeft";
292
+ paddingTop: "paddingTop";
293
+ paddingRight: "paddingRight";
294
+ paddingBottom: "paddingBottom";
295
+ paddingLeft: "paddingLeft";
296
+ minWidth: "minWidth";
297
+ minHeight: "minHeight";
298
+ maxWidth: "maxWidth";
299
+ maxHeight: "maxHeight";
300
+ overflow: "overflow";
301
+ fontFamily: "fontFamily";
302
+ fontSize: "fontSize";
303
+ fontWeight: "fontWeight";
304
+ lineHeight: "lineHeight";
305
+ letterSpacing: "letterSpacing";
306
+ textAlign: "textAlign";
307
+ textTransform: "textTransform";
308
+ textDecoration: "textDecoration";
309
+ textOverflow: "textOverflow";
310
+ textIndent: "textIndent";
311
+ writingMode: "writingMode";
312
+ whiteSpace: "whiteSpace";
313
+ wordBreak: "wordBreak";
314
+ lineClamp: "lineClamp";
315
+ fontVariantNumeric: "fontVariantNumeric";
316
+ screenReaderOnly: "screenReaderOnly";
317
+ backgroundColor: "backgroundColor";
318
+ backgroundImage: "backgroundImage";
319
+ backgroundRepeat: "backgroundRepeat";
320
+ backgroundSize: "backgroundSize";
321
+ backgroundPosition: "backgroundPosition";
322
+ backgroundAttachment: "backgroundAttachment";
323
+ backgroundClip: "backgroundClip";
324
+ backgroundOrigin: "backgroundOrigin";
325
+ borderStyle: "borderStyle";
326
+ borderWidth: "borderWidth";
327
+ borderRadius: "borderRadius";
328
+ borderColor: "borderColor";
329
+ objectFit: "objectFit";
330
+ objectPosition: "objectPosition";
331
+ aspectRatio: "aspectRatio";
332
+ opacity: "opacity";
333
+ boxShadow: "boxShadow";
334
+ transformOrigin: "transformOrigin";
335
+ transitionProperty: "transitionProperty";
336
+ transitionDuration: "transitionDuration";
337
+ transitionTimingFunction: "transitionTimingFunction";
338
+ animation: "animation";
339
+ pointerEvents: "pointerEvents";
340
+ cursor: "cursor";
341
+ userSelect: "userSelect";
342
+ fontStyle: "fontStyle";
343
+ textUnderlineOffset: "textUnderlineOffset";
344
+ scrollMarginTop: "scrollMarginTop";
345
+ alignSelf: "alignSelf";
346
+ flex: "flex";
347
+ outlineStyle: "outlineStyle";
348
+ resize: "resize";
349
+ ringWidth: "ringWidth";
350
+ ringColor: "ringColor";
351
+ backdropFilter: "backdropFilter";
352
+ overscrollBehavior: "overscrollBehavior";
353
+ divideWidth: "divideWidth";
354
+ divideColor: "divideColor";
355
+ }>;
356
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
357
+ resolvedValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
358
+ breakpoint: z.ZodOptional<z.ZodEnum<{
359
+ sm: "sm";
360
+ md: "md";
361
+ lg: "lg";
362
+ xl: "xl";
363
+ "2xl": "2xl";
364
+ }>>;
365
+ state: z.ZodOptional<z.ZodEnum<{
366
+ hover: "hover";
367
+ active: "active";
368
+ focus: "focus";
369
+ disabled: "disabled";
370
+ }>>;
371
+ variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
+ options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
373
+ editable: z.ZodBoolean;
374
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ code: z.ZodString;
376
+ message: z.ZodString;
377
+ }, z.core.$strip>>>;
378
+ operationBoundary: z.ZodOptional<z.ZodArray<z.ZodEnum<{
379
+ "update-text": "update-text";
380
+ "remove-node": "remove-node";
381
+ "insert-child": "insert-child";
382
+ "move-node": "move-node";
383
+ "set-class-name-source": "set-class-name-source";
384
+ "set-props": "set-props";
385
+ "apply-style-draft": "apply-style-draft";
386
+ }>>>;
387
+ }, z.core.$strip>>;
388
+ }, z.core.$strip>]>;
389
+ export type SiteEditStyleModel = z.infer<typeof SiteEditStyleModelSchema>;
390
+ export declare const SiteEditStyleSourceSchema: z.ZodObject<{
391
+ kind: z.ZodLiteral<"class-name-source">;
392
+ className: z.ZodString;
393
+ sourceKind: z.ZodEnum<{
394
+ missing: "missing";
395
+ "static-attribute": "static-attribute";
396
+ "static-expression": "static-expression";
397
+ "dynamic-expression": "dynamic-expression";
398
+ }>;
399
+ editable: z.ZodBoolean;
400
+ operationBoundary: z.ZodArray<z.ZodEnum<{
401
+ "update-text": "update-text";
402
+ "remove-node": "remove-node";
403
+ "insert-child": "insert-child";
404
+ "move-node": "move-node";
405
+ "set-class-name-source": "set-class-name-source";
406
+ "set-props": "set-props";
407
+ "apply-style-draft": "apply-style-draft";
408
+ }>>;
409
+ sourcePath: z.ZodOptional<z.ZodString>;
410
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
+ code: z.ZodEnum<{
412
+ "missing-class-name": "missing-class-name";
413
+ "dynamic-binding": "dynamic-binding";
414
+ "non-string-binding": "non-string-binding";
415
+ }>;
416
+ message: z.ZodString;
417
+ }, z.core.$strip>>>;
418
+ }, z.core.$strip>;
419
+ export type SiteEditStyleSource = z.infer<typeof SiteEditStyleSourceSchema>;
420
+ export declare const SiteEditSourceLocatorRangeSchema: z.ZodObject<{
421
+ startLine: z.ZodNumber;
422
+ startColumn: z.ZodNumber;
423
+ endLine: z.ZodNumber;
424
+ endColumn: z.ZodNumber;
425
+ }, z.core.$strip>;
426
+ export type SiteEditSourceLocatorRange = z.infer<typeof SiteEditSourceLocatorRangeSchema>;
427
+ export declare const SiteEditSourceLocatorSchema: z.ZodObject<{
428
+ sourceFile: z.ZodString;
429
+ componentName: z.ZodString;
430
+ openingElementRange: z.ZodObject<{
431
+ startLine: z.ZodNumber;
432
+ startColumn: z.ZodNumber;
433
+ endLine: z.ZodNumber;
434
+ endColumn: z.ZodNumber;
435
+ }, z.core.$strip>;
436
+ structuralPath: z.ZodString;
437
+ textPreview: z.ZodOptional<z.ZodString>;
438
+ }, z.core.$strip>;
439
+ export type SiteEditSourceLocator = z.infer<typeof SiteEditSourceLocatorSchema>;
440
+ export declare const SiteEditObjectDetailSchema: z.ZodObject<{
441
+ key: z.ZodString;
442
+ tag: z.ZodString;
443
+ componentName: z.ZodString;
444
+ sourceFile: z.ZodString;
445
+ sourceLocator: z.ZodOptional<z.ZodObject<{
446
+ sourceFile: z.ZodString;
447
+ componentName: z.ZodString;
448
+ openingElementRange: z.ZodObject<{
449
+ startLine: z.ZodNumber;
450
+ startColumn: z.ZodNumber;
451
+ endLine: z.ZodNumber;
452
+ endColumn: z.ZodNumber;
453
+ }, z.core.$strip>;
454
+ structuralPath: z.ZodString;
455
+ textPreview: z.ZodOptional<z.ZodString>;
456
+ }, z.core.$strip>>;
457
+ label: z.ZodString;
458
+ capabilities: z.ZodObject<{
459
+ key: z.ZodString;
460
+ canUpdateText: z.ZodBoolean;
461
+ canInsertChild: z.ZodBoolean;
462
+ canMove: z.ZodBoolean;
463
+ canRemove: z.ZodBoolean;
464
+ editModes: z.ZodOptional<z.ZodObject<{
465
+ updateText: z.ZodOptional<z.ZodObject<{
466
+ mode: z.ZodEnum<{
467
+ readonly: "readonly";
468
+ direct: "direct";
469
+ proxy: "proxy";
470
+ upstream: "upstream";
471
+ unsupported: "unsupported";
472
+ }>;
473
+ reasonCode: z.ZodOptional<z.ZodString>;
474
+ }, z.core.$strip>>;
475
+ insertChild: z.ZodOptional<z.ZodObject<{
476
+ mode: z.ZodEnum<{
477
+ readonly: "readonly";
478
+ direct: "direct";
479
+ proxy: "proxy";
480
+ upstream: "upstream";
481
+ unsupported: "unsupported";
482
+ }>;
483
+ reasonCode: z.ZodOptional<z.ZodString>;
484
+ }, z.core.$strip>>;
485
+ move: z.ZodOptional<z.ZodObject<{
486
+ mode: z.ZodEnum<{
487
+ readonly: "readonly";
488
+ direct: "direct";
489
+ proxy: "proxy";
490
+ upstream: "upstream";
491
+ unsupported: "unsupported";
492
+ }>;
493
+ reasonCode: z.ZodOptional<z.ZodString>;
494
+ }, z.core.$strip>>;
495
+ remove: z.ZodOptional<z.ZodObject<{
496
+ mode: z.ZodEnum<{
497
+ readonly: "readonly";
498
+ direct: "direct";
499
+ proxy: "proxy";
500
+ upstream: "upstream";
501
+ unsupported: "unsupported";
502
+ }>;
503
+ reasonCode: z.ZodOptional<z.ZodString>;
504
+ }, z.core.$strip>>;
505
+ }, z.core.$strip>>;
506
+ constraints: z.ZodArray<z.ZodObject<{
507
+ kind: z.ZodEnum<{
508
+ "component-boundary": "component-boundary";
509
+ "repeat-region": "repeat-region";
510
+ "conditional-region": "conditional-region";
511
+ "opaque-region": "opaque-region";
512
+ "void-element": "void-element";
513
+ "read-only": "read-only";
514
+ "cross-file-required": "cross-file-required";
515
+ "import-required": "import-required";
516
+ }>;
517
+ message: z.ZodString;
518
+ }, z.core.$strip>>;
519
+ }, z.core.$strip>;
520
+ writeTarget: z.ZodObject<{
521
+ kind: z.ZodEnum<{
522
+ "jsx-node": "jsx-node";
523
+ "component-proxy": "component-proxy";
524
+ "value-binding": "value-binding";
525
+ "route-export": "route-export";
526
+ }>;
527
+ file: z.ZodString;
528
+ componentName: z.ZodString;
529
+ isProxy: z.ZodBoolean;
530
+ }, z.core.$strip>;
531
+ effectiveWriteTarget: z.ZodOptional<z.ZodObject<{
532
+ kind: z.ZodEnum<{
533
+ "jsx-node": "jsx-node";
534
+ "route-export": "route-export";
535
+ "value-path": "value-path";
536
+ "external-entry": "external-entry";
537
+ }>;
538
+ file: z.ZodOptional<z.ZodString>;
539
+ isProxy: z.ZodBoolean;
540
+ displayPath: z.ZodOptional<z.ZodString>;
541
+ sourceType: z.ZodOptional<z.ZodEnum<{
542
+ "api-field": "api-field";
543
+ "cms-field": "cms-field";
544
+ "i18n-message": "i18n-message";
545
+ "config-entry": "config-entry";
546
+ }>>;
547
+ sourceId: z.ZodOptional<z.ZodString>;
548
+ }, z.core.$strip>>;
549
+ provenanceChain: z.ZodOptional<z.ZodObject<{
550
+ finalSource: z.ZodNullable<z.ZodObject<{
551
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
552
+ binding: "binding";
553
+ "imported-binding": "imported-binding";
554
+ "repeat-template": "repeat-template";
555
+ "jsx-literal": "jsx-literal";
556
+ "component-prop": "component-prop";
557
+ "object-field": "object-field";
558
+ "array-item": "array-item";
559
+ "conditional-branch": "conditional-branch";
560
+ }>, z.ZodEnum<{
561
+ "api-field": "api-field";
562
+ "cms-field": "cms-field";
563
+ "i18n-message": "i18n-message";
564
+ "config-entry": "config-entry";
565
+ }>]>;
566
+ file: z.ZodString;
567
+ displayPath: z.ZodString;
568
+ externalSource: z.ZodOptional<z.ZodObject<{
569
+ sourceType: z.ZodEnum<{
570
+ "api-field": "api-field";
571
+ "cms-field": "cms-field";
572
+ "i18n-message": "i18n-message";
573
+ "config-entry": "config-entry";
574
+ }>;
575
+ sourceId: z.ZodString;
576
+ adapterId: z.ZodOptional<z.ZodString>;
577
+ }, z.core.$strip>>;
578
+ }, z.core.$strip>>;
579
+ chain: z.ZodArray<z.ZodObject<{
580
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
581
+ binding: "binding";
582
+ "imported-binding": "imported-binding";
583
+ "repeat-template": "repeat-template";
584
+ "jsx-literal": "jsx-literal";
585
+ "component-prop": "component-prop";
586
+ "object-field": "object-field";
587
+ "array-item": "array-item";
588
+ "conditional-branch": "conditional-branch";
589
+ }>, z.ZodEnum<{
590
+ "api-field": "api-field";
591
+ "cms-field": "cms-field";
592
+ "i18n-message": "i18n-message";
593
+ "config-entry": "config-entry";
594
+ }>]>;
595
+ file: z.ZodString;
596
+ displayName: z.ZodString;
597
+ canEditHere: z.ZodBoolean;
598
+ }, z.core.$strip>>;
599
+ confidence: z.ZodEnum<{
600
+ unknown: "unknown";
601
+ exact: "exact";
602
+ "safe-derived": "safe-derived";
603
+ partial: "partial";
604
+ }>;
605
+ editMode: z.ZodEnum<{
606
+ readonly: "readonly";
607
+ direct: "direct";
608
+ proxy: "proxy";
609
+ upstream: "upstream";
610
+ unsupported: "unsupported";
611
+ }>;
612
+ diagnostics: z.ZodArray<z.ZodObject<{
613
+ code: z.ZodString;
614
+ message: z.ZodString;
615
+ }, z.core.$strip>>;
616
+ }, z.core.$strip>>;
617
+ componentSemantic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
618
+ contentModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
619
+ mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
620
+ styleSource: z.ZodOptional<z.ZodObject<{
621
+ kind: z.ZodLiteral<"class-name-source">;
622
+ className: z.ZodString;
623
+ sourceKind: z.ZodEnum<{
624
+ missing: "missing";
625
+ "static-attribute": "static-attribute";
626
+ "static-expression": "static-expression";
627
+ "dynamic-expression": "dynamic-expression";
628
+ }>;
629
+ editable: z.ZodBoolean;
630
+ operationBoundary: z.ZodArray<z.ZodEnum<{
631
+ "update-text": "update-text";
632
+ "remove-node": "remove-node";
633
+ "insert-child": "insert-child";
634
+ "move-node": "move-node";
635
+ "set-class-name-source": "set-class-name-source";
636
+ "set-props": "set-props";
637
+ "apply-style-draft": "apply-style-draft";
638
+ }>>;
639
+ sourcePath: z.ZodOptional<z.ZodString>;
640
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
641
+ code: z.ZodEnum<{
642
+ "missing-class-name": "missing-class-name";
643
+ "dynamic-binding": "dynamic-binding";
644
+ "non-string-binding": "non-string-binding";
645
+ }>;
646
+ message: z.ZodString;
647
+ }, z.core.$strip>>>;
648
+ }, z.core.$strip>>;
649
+ conditional: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
650
+ textSegments: z.ZodArray<z.ZodObject<{
651
+ index: z.ZodNumber;
652
+ value: z.ZodString;
653
+ editable: z.ZodBoolean;
654
+ source: z.ZodNullable<z.ZodObject<{
655
+ kind: z.ZodEnum<{
656
+ literal: "literal";
657
+ binding: "binding";
658
+ "imported-binding": "imported-binding";
659
+ "repeat-template": "repeat-template";
660
+ }>;
661
+ file: z.ZodString;
662
+ expression: z.ZodString;
663
+ bindingName: z.ZodOptional<z.ZodString>;
664
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
665
+ }, z.core.$strip>>;
666
+ }, z.core.$strip>>;
667
+ boundaryKind: z.ZodNullable<z.ZodEnum<{
668
+ "component-boundary": "component-boundary";
669
+ "repeat-region": "repeat-region";
670
+ "conditional-region": "conditional-region";
671
+ "fragment-region": "fragment-region";
672
+ "opaque-region": "opaque-region";
673
+ }>>;
674
+ isOpaque: z.ZodBoolean;
675
+ ancestors: z.ZodArray<z.ZodObject<{
676
+ key: z.ZodString;
677
+ label: z.ZodString;
678
+ tag: z.ZodString;
679
+ }, z.core.$strip>>;
680
+ children: z.ZodArray<z.ZodObject<{
681
+ key: z.ZodString;
682
+ label: z.ZodString;
683
+ tag: z.ZodString;
684
+ }, z.core.$strip>>;
685
+ siblings: z.ZodArray<z.ZodObject<{
686
+ key: z.ZodString;
687
+ label: z.ZodString;
688
+ tag: z.ZodString;
689
+ }, z.core.$strip>>;
690
+ }, z.core.$strip>;
691
+ export type SiteEditObjectDetail = z.infer<typeof SiteEditObjectDetailSchema>;
692
+ export declare const SiteEditObjectSummarySchema: z.ZodObject<{
693
+ key: z.ZodString;
694
+ tag: z.ZodString;
695
+ label: z.ZodString;
696
+ sourceLocator: z.ZodOptional<z.ZodObject<{
697
+ sourceFile: z.ZodString;
698
+ componentName: z.ZodString;
699
+ openingElementRange: z.ZodObject<{
700
+ startLine: z.ZodNumber;
701
+ startColumn: z.ZodNumber;
702
+ endLine: z.ZodNumber;
703
+ endColumn: z.ZodNumber;
704
+ }, z.core.$strip>;
705
+ structuralPath: z.ZodString;
706
+ textPreview: z.ZodOptional<z.ZodString>;
707
+ }, z.core.$strip>>;
708
+ capabilities: z.ZodObject<{
709
+ constraints: z.ZodArray<z.ZodObject<{
710
+ kind: z.ZodEnum<{
711
+ "component-boundary": "component-boundary";
712
+ "repeat-region": "repeat-region";
713
+ "conditional-region": "conditional-region";
714
+ "opaque-region": "opaque-region";
715
+ "void-element": "void-element";
716
+ "read-only": "read-only";
717
+ "cross-file-required": "cross-file-required";
718
+ "import-required": "import-required";
719
+ }>;
720
+ message: z.ZodString;
721
+ }, z.core.$strip>>;
722
+ }, z.core.$strip>;
723
+ isOpaque: z.ZodBoolean;
724
+ provenanceChain: z.ZodOptional<z.ZodObject<{
725
+ editMode: z.ZodEnum<{
726
+ readonly: "readonly";
727
+ direct: "direct";
728
+ proxy: "proxy";
729
+ upstream: "upstream";
730
+ unsupported: "unsupported";
731
+ }>;
732
+ diagnostics: z.ZodArray<z.ZodObject<{
733
+ code: z.ZodString;
734
+ message: z.ZodString;
735
+ }, z.core.$strip>>;
736
+ }, z.core.$strip>>;
737
+ ancestors: z.ZodArray<z.ZodObject<{
738
+ key: z.ZodString;
739
+ label: z.ZodString;
740
+ tag: z.ZodString;
741
+ }, z.core.$strip>>;
742
+ }, z.core.$strip>;
743
+ export type SiteEditObjectSummary = z.infer<typeof SiteEditObjectSummarySchema>;
744
+ export declare const SiteEditObjectEditContextSchema: z.ZodObject<{
745
+ key: z.ZodString;
746
+ componentName: z.ZodString;
747
+ sourceFile: z.ZodString;
748
+ capabilities: z.ZodObject<{
749
+ key: z.ZodString;
750
+ canUpdateText: z.ZodBoolean;
751
+ canInsertChild: z.ZodBoolean;
752
+ canMove: z.ZodBoolean;
753
+ canRemove: z.ZodBoolean;
754
+ editModes: z.ZodOptional<z.ZodObject<{
755
+ updateText: z.ZodOptional<z.ZodObject<{
756
+ mode: z.ZodEnum<{
757
+ readonly: "readonly";
758
+ direct: "direct";
759
+ proxy: "proxy";
760
+ upstream: "upstream";
761
+ unsupported: "unsupported";
762
+ }>;
763
+ reasonCode: z.ZodOptional<z.ZodString>;
764
+ }, z.core.$strip>>;
765
+ insertChild: z.ZodOptional<z.ZodObject<{
766
+ mode: z.ZodEnum<{
767
+ readonly: "readonly";
768
+ direct: "direct";
769
+ proxy: "proxy";
770
+ upstream: "upstream";
771
+ unsupported: "unsupported";
772
+ }>;
773
+ reasonCode: z.ZodOptional<z.ZodString>;
774
+ }, z.core.$strip>>;
775
+ move: z.ZodOptional<z.ZodObject<{
776
+ mode: z.ZodEnum<{
777
+ readonly: "readonly";
778
+ direct: "direct";
779
+ proxy: "proxy";
780
+ upstream: "upstream";
781
+ unsupported: "unsupported";
782
+ }>;
783
+ reasonCode: z.ZodOptional<z.ZodString>;
784
+ }, z.core.$strip>>;
785
+ remove: z.ZodOptional<z.ZodObject<{
786
+ mode: z.ZodEnum<{
787
+ readonly: "readonly";
788
+ direct: "direct";
789
+ proxy: "proxy";
790
+ upstream: "upstream";
791
+ unsupported: "unsupported";
792
+ }>;
793
+ reasonCode: z.ZodOptional<z.ZodString>;
794
+ }, z.core.$strip>>;
795
+ }, z.core.$strip>>;
796
+ constraints: z.ZodArray<z.ZodObject<{
797
+ kind: z.ZodEnum<{
798
+ "component-boundary": "component-boundary";
799
+ "repeat-region": "repeat-region";
800
+ "conditional-region": "conditional-region";
801
+ "opaque-region": "opaque-region";
802
+ "void-element": "void-element";
803
+ "read-only": "read-only";
804
+ "cross-file-required": "cross-file-required";
805
+ "import-required": "import-required";
806
+ }>;
807
+ message: z.ZodString;
808
+ }, z.core.$strip>>;
809
+ }, z.core.$strip>;
810
+ writeTarget: z.ZodObject<{
811
+ kind: z.ZodEnum<{
812
+ "jsx-node": "jsx-node";
813
+ "component-proxy": "component-proxy";
814
+ "value-binding": "value-binding";
815
+ "route-export": "route-export";
816
+ }>;
817
+ file: z.ZodString;
818
+ componentName: z.ZodString;
819
+ isProxy: z.ZodBoolean;
820
+ }, z.core.$strip>;
821
+ effectiveWriteTarget: z.ZodOptional<z.ZodObject<{
822
+ kind: z.ZodEnum<{
823
+ "jsx-node": "jsx-node";
824
+ "route-export": "route-export";
825
+ "value-path": "value-path";
826
+ "external-entry": "external-entry";
827
+ }>;
828
+ file: z.ZodOptional<z.ZodString>;
829
+ isProxy: z.ZodBoolean;
830
+ displayPath: z.ZodOptional<z.ZodString>;
831
+ sourceType: z.ZodOptional<z.ZodEnum<{
832
+ "api-field": "api-field";
833
+ "cms-field": "cms-field";
834
+ "i18n-message": "i18n-message";
835
+ "config-entry": "config-entry";
836
+ }>>;
837
+ sourceId: z.ZodOptional<z.ZodString>;
838
+ }, z.core.$strip>>;
839
+ provenanceChain: z.ZodOptional<z.ZodObject<{
840
+ finalSource: z.ZodNullable<z.ZodObject<{
841
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
842
+ binding: "binding";
843
+ "imported-binding": "imported-binding";
844
+ "repeat-template": "repeat-template";
845
+ "jsx-literal": "jsx-literal";
846
+ "component-prop": "component-prop";
847
+ "object-field": "object-field";
848
+ "array-item": "array-item";
849
+ "conditional-branch": "conditional-branch";
850
+ }>, z.ZodEnum<{
851
+ "api-field": "api-field";
852
+ "cms-field": "cms-field";
853
+ "i18n-message": "i18n-message";
854
+ "config-entry": "config-entry";
855
+ }>]>;
856
+ file: z.ZodString;
857
+ displayPath: z.ZodString;
858
+ externalSource: z.ZodOptional<z.ZodObject<{
859
+ sourceType: z.ZodEnum<{
860
+ "api-field": "api-field";
861
+ "cms-field": "cms-field";
862
+ "i18n-message": "i18n-message";
863
+ "config-entry": "config-entry";
864
+ }>;
865
+ sourceId: z.ZodString;
866
+ adapterId: z.ZodOptional<z.ZodString>;
867
+ }, z.core.$strip>>;
868
+ }, z.core.$strip>>;
869
+ chain: z.ZodArray<z.ZodObject<{
870
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
871
+ binding: "binding";
872
+ "imported-binding": "imported-binding";
873
+ "repeat-template": "repeat-template";
874
+ "jsx-literal": "jsx-literal";
875
+ "component-prop": "component-prop";
876
+ "object-field": "object-field";
877
+ "array-item": "array-item";
878
+ "conditional-branch": "conditional-branch";
879
+ }>, z.ZodEnum<{
880
+ "api-field": "api-field";
881
+ "cms-field": "cms-field";
882
+ "i18n-message": "i18n-message";
883
+ "config-entry": "config-entry";
884
+ }>]>;
885
+ file: z.ZodString;
886
+ displayName: z.ZodString;
887
+ canEditHere: z.ZodBoolean;
888
+ }, z.core.$strip>>;
889
+ confidence: z.ZodEnum<{
890
+ unknown: "unknown";
891
+ exact: "exact";
892
+ "safe-derived": "safe-derived";
893
+ partial: "partial";
894
+ }>;
895
+ editMode: z.ZodEnum<{
896
+ readonly: "readonly";
897
+ direct: "direct";
898
+ proxy: "proxy";
899
+ upstream: "upstream";
900
+ unsupported: "unsupported";
901
+ }>;
902
+ diagnostics: z.ZodArray<z.ZodObject<{
903
+ code: z.ZodString;
904
+ message: z.ZodString;
905
+ }, z.core.$strip>>;
906
+ }, z.core.$strip>>;
907
+ componentSemantic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
908
+ textSegments: z.ZodArray<z.ZodObject<{
909
+ index: z.ZodNumber;
910
+ value: z.ZodString;
911
+ editable: z.ZodBoolean;
912
+ source: z.ZodNullable<z.ZodObject<{
913
+ kind: z.ZodEnum<{
914
+ literal: "literal";
915
+ binding: "binding";
916
+ "imported-binding": "imported-binding";
917
+ "repeat-template": "repeat-template";
918
+ }>;
919
+ file: z.ZodString;
920
+ expression: z.ZodString;
921
+ bindingName: z.ZodOptional<z.ZodString>;
922
+ path: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
923
+ }, z.core.$strip>>;
924
+ }, z.core.$strip>>;
925
+ boundaryKind: z.ZodNullable<z.ZodEnum<{
926
+ "component-boundary": "component-boundary";
927
+ "repeat-region": "repeat-region";
928
+ "conditional-region": "conditional-region";
929
+ "fragment-region": "fragment-region";
930
+ "opaque-region": "opaque-region";
931
+ }>>;
932
+ children: z.ZodArray<z.ZodObject<{
933
+ key: z.ZodString;
934
+ label: z.ZodString;
935
+ tag: z.ZodString;
936
+ }, z.core.$strip>>;
937
+ siblings: z.ZodArray<z.ZodObject<{
938
+ key: z.ZodString;
939
+ label: z.ZodString;
940
+ tag: z.ZodString;
941
+ }, z.core.$strip>>;
942
+ }, z.core.$strip>;
943
+ export type SiteEditObjectEditContext = z.infer<typeof SiteEditObjectEditContextSchema>;
944
+ export declare const SiteEditObjectStyleDetailSchema: z.ZodObject<{
945
+ key: z.ZodString;
946
+ mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
947
+ styleSource: z.ZodOptional<z.ZodObject<{
948
+ kind: z.ZodLiteral<"class-name-source">;
949
+ className: z.ZodString;
950
+ sourceKind: z.ZodEnum<{
951
+ missing: "missing";
952
+ "static-attribute": "static-attribute";
953
+ "static-expression": "static-expression";
954
+ "dynamic-expression": "dynamic-expression";
955
+ }>;
956
+ editable: z.ZodBoolean;
957
+ operationBoundary: z.ZodArray<z.ZodEnum<{
958
+ "update-text": "update-text";
959
+ "remove-node": "remove-node";
960
+ "insert-child": "insert-child";
961
+ "move-node": "move-node";
962
+ "set-class-name-source": "set-class-name-source";
963
+ "set-props": "set-props";
964
+ "apply-style-draft": "apply-style-draft";
965
+ }>>;
966
+ sourcePath: z.ZodOptional<z.ZodString>;
967
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
968
+ code: z.ZodEnum<{
969
+ "missing-class-name": "missing-class-name";
970
+ "dynamic-binding": "dynamic-binding";
971
+ "non-string-binding": "non-string-binding";
972
+ }>;
973
+ message: z.ZodString;
974
+ }, z.core.$strip>>>;
975
+ }, z.core.$strip>>;
976
+ }, z.core.$strip>;
977
+ export type SiteEditObjectStyleDetail = z.infer<typeof SiteEditObjectStyleDetailSchema>;
978
+ export declare const SiteEditObjectContentDetailSchema: z.ZodObject<{
979
+ key: z.ZodString;
980
+ contentModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
981
+ }, z.core.$strip>;
982
+ export type SiteEditObjectContentDetail = z.infer<typeof SiteEditObjectContentDetailSchema>;
983
+ export declare const SiteEditObjectMediaDetailSchema: z.ZodObject<{
984
+ key: z.ZodString;
985
+ mediaModel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
986
+ }, z.core.$strip>;
987
+ export type SiteEditObjectMediaDetail = z.infer<typeof SiteEditObjectMediaDetailSchema>;