@contentful/experience-design-system-types 2.42.1-dev-build-f69db6bf.0 → 2.43.0-alpha.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.
Files changed (94) hide show
  1. package/README.md +15 -0
  2. package/dist/package.json +1 -1
  3. package/dist/src/agent-process-lifecycle.d.ts +26 -0
  4. package/dist/src/agent-process-lifecycle.js +171 -0
  5. package/dist/src/agent-prompt-artifact.d.ts +8 -0
  6. package/dist/src/agent-prompt-artifact.js +37 -0
  7. package/dist/src/agent-prompt-transport.d.ts +1 -0
  8. package/dist/src/agent-prompt-transport.js +4 -0
  9. package/dist/src/cdf/build.d.ts +9 -2
  10. package/dist/src/cdf/build.js +134 -17
  11. package/dist/src/cdf/finite-values.d.ts +8 -0
  12. package/dist/src/cdf/finite-values.js +21 -0
  13. package/dist/src/cdf/index.d.ts +2 -1
  14. package/dist/src/cdf/index.js +1 -0
  15. package/dist/src/cdf/property-validation.d.ts +16 -0
  16. package/dist/src/cdf/property-validation.js +211 -0
  17. package/dist/src/cdf/representation-validation.d.ts +6 -0
  18. package/dist/src/cdf/representation-validation.js +182 -0
  19. package/dist/src/cdf/schema.d.ts +778 -20
  20. package/dist/src/cdf/schema.js +362 -5
  21. package/dist/src/cdf/types.d.ts +57 -59
  22. package/dist/src/cdf/types.js +72 -15
  23. package/dist/src/cdf/validate.js +31 -1
  24. package/dist/src/cdf/vocabularies.d.ts +1 -1
  25. package/dist/src/cdf/vocabularies.js +9 -1
  26. package/dist/src/config/index.js +6 -3
  27. package/dist/src/exploration/constants.d.ts +10 -0
  28. package/dist/src/exploration/constants.js +18 -0
  29. package/dist/src/exploration/index.d.ts +3 -0
  30. package/dist/src/exploration/index.js +3 -0
  31. package/dist/src/exploration/schemas.d.ts +201 -0
  32. package/dist/src/exploration/schemas.js +126 -0
  33. package/dist/src/exploration/types.d.ts +393 -0
  34. package/dist/src/exploration/types.js +1 -0
  35. package/dist/src/handoff/index.d.ts +1 -1
  36. package/dist/src/index.d.ts +15 -1
  37. package/dist/src/index.js +12 -4
  38. package/dist/src/property-contract/analysis-representation-candidates.d.ts +19 -0
  39. package/dist/src/property-contract/analysis-representation-candidates.js +45 -0
  40. package/dist/src/property-contract/classification.d.ts +38 -0
  41. package/dist/src/property-contract/classification.js +84 -0
  42. package/dist/src/property-contract/compact-model-components.d.ts +16 -0
  43. package/dist/src/property-contract/compact-model-components.js +113 -0
  44. package/dist/src/property-contract/content-digest.d.ts +2 -0
  45. package/dist/src/property-contract/content-digest.js +69 -0
  46. package/dist/src/property-contract/decision-protocol.d.ts +45 -0
  47. package/dist/src/property-contract/decision-protocol.js +251 -0
  48. package/dist/src/property-contract/definition-import-rules.d.ts +10 -0
  49. package/dist/src/property-contract/definition-import-rules.js +105 -0
  50. package/dist/src/property-contract/definition-import.d.ts +13 -0
  51. package/dist/src/property-contract/definition-import.js +52 -0
  52. package/dist/src/property-contract/discriminated-union-source.d.ts +17 -0
  53. package/dist/src/property-contract/discriminated-union-source.js +180 -0
  54. package/dist/src/property-contract/import-prerequisites.d.ts +70 -0
  55. package/dist/src/property-contract/import-prerequisites.js +208 -0
  56. package/dist/src/property-contract/index.d.ts +18 -1
  57. package/dist/src/property-contract/index.js +18 -6
  58. package/dist/src/property-contract/logical-source-graph.d.ts +36 -0
  59. package/dist/src/property-contract/logical-source-graph.js +240 -0
  60. package/dist/src/property-contract/mapper-readiness.d.ts +6 -0
  61. package/dist/src/property-contract/mapper-readiness.js +34 -0
  62. package/dist/src/property-contract/model-exploration.d.ts +42 -0
  63. package/dist/src/property-contract/model-exploration.js +94 -0
  64. package/dist/src/property-contract/native-source-region.d.ts +5 -0
  65. package/dist/src/property-contract/native-source-region.js +125 -0
  66. package/dist/src/property-contract/null-handling.d.ts +10 -0
  67. package/dist/src/property-contract/null-handling.js +45 -0
  68. package/dist/src/property-contract/physical-property-import.d.ts +6 -0
  69. package/dist/src/property-contract/physical-property-import.js +55 -0
  70. package/dist/src/property-contract/property-decision.d.ts +14 -0
  71. package/dist/src/property-contract/property-decision.js +155 -0
  72. package/dist/src/property-contract/property-model.d.ts +197 -0
  73. package/dist/src/property-contract/property-model.js +833 -0
  74. package/dist/src/property-contract/representation-plan.d.ts +133 -0
  75. package/dist/src/property-contract/representation-plan.js +756 -0
  76. package/dist/src/property-contract/representation-proposal.d.ts +65 -0
  77. package/dist/src/property-contract/representation-proposal.js +204 -0
  78. package/dist/src/property-contract/resource-link-schema.d.ts +55 -0
  79. package/dist/src/property-contract/resource-link-schema.js +28 -0
  80. package/dist/src/property-contract/source-representation.d.ts +9 -0
  81. package/dist/src/property-contract/source-representation.js +79 -0
  82. package/dist/src/property-contract/target-definition.d.ts +17 -16
  83. package/dist/src/property-contract/target-definition.js +4 -26
  84. package/dist/src/schema-export.d.ts +30 -0
  85. package/dist/src/schema-export.js +285 -0
  86. package/dist/src/shared-source.d.ts +105 -0
  87. package/dist/src/shared-source.js +1 -0
  88. package/dist/src/source-input-association.d.ts +23 -0
  89. package/dist/src/source-input-association.js +52 -0
  90. package/dist/src/sources-api/preview/index.d.ts +37 -3
  91. package/dist/src/sources-api/preview/index.js +39 -1
  92. package/dist/src/sources-api/preview/schema.d.ts +2 -0
  93. package/dist/src/sources-api/preview/schema.js +74 -0
  94. package/package.json +1 -1
@@ -1,11 +1,4 @@
1
1
  export declare const CDF_SCHEMA_URL = "https://contentful.com/schemas/cdf";
2
- /**
3
- * Components and design tokens live in one recursive tree. A leaf's `$type`
4
- * decides what it is ('component' vs. a DESIGN_TOKEN_TYPES member), so the
5
- * same `group` container can hold either kind side by side. There is no
6
- * separate manifest envelope — this document is the single file/wire
7
- * payload sent to preview/apply.
8
- */
9
2
  export declare const cdfJsonSchema: {
10
3
  readonly $schema: "http://json-schema.org/draft-07/schema#";
11
4
  readonly $id: "https://contentful.com/schemas/cdf";
@@ -48,6 +41,15 @@ export declare const cdfJsonSchema: {
48
41
  readonly $ref: "#/definitions/property";
49
42
  };
50
43
  };
44
+ readonly $model: {
45
+ readonly $ref: "#/definitions/modelBinding";
46
+ };
47
+ readonly $representationPlans: {
48
+ readonly type: "object";
49
+ readonly additionalProperties: {
50
+ readonly $ref: "#/definitions/representationPlan";
51
+ };
52
+ };
51
53
  readonly $slots: {
52
54
  readonly type: "object";
53
55
  readonly additionalProperties: {
@@ -59,15 +61,60 @@ export declare const cdfJsonSchema: {
59
61
  };
60
62
  readonly property: {
61
63
  readonly type: "object";
64
+ readonly allOf: readonly [{
65
+ if: {
66
+ required: string[];
67
+ };
68
+ then: {
69
+ anyOf: {
70
+ properties: {
71
+ $type: {
72
+ const: string;
73
+ };
74
+ $values: {
75
+ type: string;
76
+ minItems: number;
77
+ uniqueItems: boolean;
78
+ items: {
79
+ type: string;
80
+ };
81
+ };
82
+ };
83
+ }[];
84
+ };
85
+ }];
62
86
  readonly required: readonly ["$type", "$category"];
63
87
  readonly properties: {
64
- readonly $type: {
88
+ readonly '$token.allowed': {
89
+ readonly type: "array";
90
+ readonly items: {
91
+ readonly type: "string";
92
+ };
93
+ };
94
+ readonly value: {};
95
+ readonly valueType: {
96
+ readonly $ref: "#/definitions/field";
97
+ };
98
+ readonly discriminator: {
65
99
  readonly type: "string";
66
- readonly enum: readonly ["string", "richtext", "number", "media", "link", "enum", "token", "boolean"];
100
+ readonly minLength: 1;
67
101
  };
68
- readonly $category: {
102
+ readonly members: {
103
+ readonly type: "array";
104
+ readonly minItems: 2;
105
+ readonly items: {
106
+ readonly $ref: "#/definitions/field";
107
+ };
108
+ };
109
+ readonly allowedResources: {
110
+ readonly $ref: "#/definitions/allowedResources";
111
+ };
112
+ readonly $sourceInput: {
113
+ readonly $ref: "#/definitions/sourceInput";
114
+ };
115
+ readonly '$token.kind': {
69
116
  readonly type: "string";
70
- readonly enum: readonly ["content", "design", "state", "unattached"];
117
+ readonly minLength: 1;
71
118
  };
72
119
  readonly $description: {
73
120
  readonly type: "string";
@@ -78,19 +125,25 @@ export declare const cdfJsonSchema: {
78
125
  readonly $default: {};
79
126
  readonly $values: {
80
127
  readonly type: "array";
81
- readonly items: {
82
- readonly type: "string";
128
+ readonly minItems: 1;
129
+ };
130
+ readonly $items: {
131
+ readonly $ref: "#/definitions/field";
132
+ };
133
+ readonly $fields: {
134
+ readonly type: "object";
135
+ readonly minProperties: 1;
136
+ readonly additionalProperties: {
137
+ readonly $ref: "#/definitions/field";
83
138
  };
84
139
  };
85
- readonly '$token.kind': {
140
+ readonly $type: {
86
141
  readonly type: "string";
87
- readonly minLength: 1;
142
+ readonly enum: readonly ["string", "richtext", "number", "media", "link", "token", "boolean", "array", "record", "Integer", "DateTime", "Literal", "RichText", "JSON", "ResourceLink", "DiscriminatedUnion"];
88
143
  };
89
- readonly '$token.allowed': {
90
- readonly type: "array";
91
- readonly items: {
92
- readonly type: "string";
93
- };
144
+ readonly $category: {
145
+ readonly type: "string";
146
+ readonly enum: readonly ["content", "design", "state", "unattached"];
94
147
  };
95
148
  };
96
149
  readonly if: {
@@ -108,9 +161,714 @@ export declare const cdfJsonSchema: {
108
161
  };
109
162
  readonly additionalProperties: false;
110
163
  };
164
+ readonly field: {
165
+ readonly type: "object";
166
+ readonly allOf: readonly [{
167
+ if: {
168
+ required: string[];
169
+ };
170
+ then: {
171
+ anyOf: {
172
+ properties: {
173
+ $type: {
174
+ const: string;
175
+ };
176
+ $values: {
177
+ type: string;
178
+ minItems: number;
179
+ uniqueItems: boolean;
180
+ items: {
181
+ type: string;
182
+ };
183
+ };
184
+ };
185
+ }[];
186
+ };
187
+ }];
188
+ readonly required: readonly ["$type"];
189
+ readonly properties: {
190
+ readonly '$token.allowed': {
191
+ readonly type: "array";
192
+ readonly items: {
193
+ readonly type: "string";
194
+ };
195
+ };
196
+ readonly value: {};
197
+ readonly valueType: {
198
+ readonly $ref: "#/definitions/field";
199
+ };
200
+ readonly discriminator: {
201
+ readonly type: "string";
202
+ readonly minLength: 1;
203
+ };
204
+ readonly members: {
205
+ readonly type: "array";
206
+ readonly minItems: 2;
207
+ readonly items: {
208
+ readonly $ref: "#/definitions/field";
209
+ };
210
+ };
211
+ readonly allowedResources: {
212
+ readonly $ref: "#/definitions/allowedResources";
213
+ };
214
+ readonly '$token.kind': {
215
+ readonly type: "string";
216
+ };
217
+ readonly $description: {
218
+ readonly type: "string";
219
+ };
220
+ readonly $required: {
221
+ readonly type: "boolean";
222
+ };
223
+ readonly $default: {};
224
+ readonly $values: {
225
+ readonly type: "array";
226
+ readonly minItems: 1;
227
+ };
228
+ readonly $items: {
229
+ readonly $ref: "#/definitions/field";
230
+ };
231
+ readonly $fields: {
232
+ readonly type: "object";
233
+ readonly minProperties: 1;
234
+ readonly additionalProperties: {
235
+ readonly $ref: "#/definitions/field";
236
+ };
237
+ };
238
+ readonly $type: {
239
+ readonly enum: readonly ["string", "richtext", "number", "media", "link", "token", "boolean", "array", "record", "Integer", "DateTime", "Literal", "RichText", "JSON", "ResourceLink", "DiscriminatedUnion"];
240
+ };
241
+ readonly $category: {
242
+ readonly enum: readonly ["content", "design", "state", "unattached"];
243
+ };
244
+ };
245
+ readonly additionalProperties: false;
246
+ };
247
+ readonly allowedResources: {
248
+ readonly type: "array";
249
+ readonly minItems: 1;
250
+ readonly items: {
251
+ readonly type: "object";
252
+ readonly required: readonly ["type", "source"];
253
+ readonly properties: {
254
+ readonly type: {
255
+ readonly enum: readonly ["Contentful:Entry", "Contentful:Asset"];
256
+ };
257
+ readonly source: {
258
+ readonly const: "crn:contentful:::content:spaces/$self/environments/$self";
259
+ };
260
+ readonly allowedTypes: {
261
+ readonly type: "array";
262
+ readonly items: {
263
+ readonly type: "string";
264
+ };
265
+ };
266
+ };
267
+ readonly allOf: readonly [{
268
+ readonly if: {
269
+ readonly properties: {
270
+ readonly type: {
271
+ readonly const: "Contentful:Entry";
272
+ };
273
+ };
274
+ };
275
+ readonly then: {
276
+ readonly required: readonly ["allowedTypes"];
277
+ };
278
+ readonly else: {
279
+ readonly not: {
280
+ readonly required: readonly ["allowedTypes"];
281
+ };
282
+ };
283
+ }];
284
+ readonly additionalProperties: false;
285
+ };
286
+ };
287
+ readonly sourceInput: {
288
+ readonly type: "object";
289
+ readonly required: readonly ["schemaVersion", "componentId", "componentDeclarationId", "rootSymbolId", "inputName", "inputPath"];
290
+ readonly properties: {
291
+ readonly schemaVersion: {
292
+ readonly const: 1;
293
+ };
294
+ readonly componentId: {
295
+ readonly type: "string";
296
+ readonly minLength: 1;
297
+ };
298
+ readonly componentDeclarationId: {
299
+ readonly type: "string";
300
+ readonly minLength: 1;
301
+ };
302
+ readonly rootSymbolId: {
303
+ readonly type: "string";
304
+ readonly minLength: 1;
305
+ };
306
+ readonly inputName: {
307
+ readonly type: "string";
308
+ readonly minLength: 1;
309
+ };
310
+ readonly inputPath: {
311
+ readonly type: "array";
312
+ readonly minItems: 1;
313
+ readonly items: {
314
+ readonly type: "string";
315
+ readonly minLength: 1;
316
+ };
317
+ };
318
+ };
319
+ readonly additionalProperties: false;
320
+ };
321
+ readonly modelBinding: {
322
+ readonly type: "object";
323
+ readonly required: readonly ["planId", "componentId", "propertyId", "nodeId"];
324
+ readonly properties: {
325
+ readonly planId: {
326
+ readonly type: "string";
327
+ };
328
+ readonly componentId: {
329
+ readonly type: "string";
330
+ };
331
+ readonly propertyId: {
332
+ readonly type: "string";
333
+ };
334
+ readonly nodeId: {
335
+ readonly type: "string";
336
+ };
337
+ readonly sourceNodeId: {
338
+ readonly type: "string";
339
+ };
340
+ };
341
+ readonly additionalProperties: false;
342
+ };
343
+ readonly modelCardinality: {
344
+ readonly type: "object";
345
+ readonly required: readonly ["min", "max", "ordered"];
346
+ readonly properties: {
347
+ readonly min: {
348
+ readonly type: "integer";
349
+ readonly minimum: 0;
350
+ };
351
+ readonly max: {
352
+ readonly type: readonly ["integer", "null"];
353
+ readonly minimum: 0;
354
+ };
355
+ readonly ordered: {
356
+ readonly type: "boolean";
357
+ };
358
+ readonly tuplePosition: {
359
+ readonly type: "integer";
360
+ readonly minimum: 0;
361
+ };
362
+ readonly rest: {
363
+ readonly type: "boolean";
364
+ };
365
+ };
366
+ readonly additionalProperties: false;
367
+ };
368
+ readonly targetDefinition: {
369
+ readonly type: "object";
370
+ readonly required: readonly ["type"];
371
+ readonly properties: {
372
+ readonly values: {
373
+ readonly type: "array";
374
+ readonly items: {};
375
+ };
376
+ readonly defaultValue: {};
377
+ readonly items: {
378
+ readonly $ref: "#/definitions/targetDefinition";
379
+ };
380
+ readonly fields: {
381
+ readonly type: "object";
382
+ readonly additionalProperties: {
383
+ readonly $ref: "#/definitions/targetDefinition";
384
+ };
385
+ };
386
+ readonly allowedResources: {
387
+ readonly $ref: "#/definitions/allowedResources";
388
+ };
389
+ readonly value: {};
390
+ readonly valueType: {
391
+ readonly $ref: "#/definitions/targetDefinition";
392
+ };
393
+ readonly discriminator: {
394
+ readonly type: "string";
395
+ readonly minLength: 1;
396
+ };
397
+ readonly members: {
398
+ readonly type: "array";
399
+ readonly minItems: 2;
400
+ readonly items: {
401
+ readonly $ref: "#/definitions/targetDefinition";
402
+ };
403
+ };
404
+ readonly id: {
405
+ readonly type: "string";
406
+ };
407
+ readonly name: {
408
+ readonly type: "string";
409
+ };
410
+ readonly description: {
411
+ readonly type: "string";
412
+ };
413
+ readonly required: {
414
+ readonly type: "boolean";
415
+ };
416
+ readonly type: {
417
+ readonly enum: readonly ["String", "Number", "Boolean", "Array", "Record", "Integer", "DateTime", "RichText", "JSON", "ResourceLink", "Literal", "DiscriminatedUnion"];
418
+ };
419
+ };
420
+ readonly additionalProperties: false;
421
+ };
422
+ readonly representationProposal: {
423
+ readonly type: "object";
424
+ readonly required: readonly ["componentId", "propertyId", "key", "name", "sourceRevision", "sourceNodeIds", "declaredConstraints", "provenConstraints", "observations", "judgment", "desiredType", "desiredDefinition"];
425
+ readonly properties: {
426
+ readonly componentId: {
427
+ readonly type: "string";
428
+ };
429
+ readonly propertyId: {
430
+ readonly type: "string";
431
+ };
432
+ readonly key: {
433
+ readonly type: "string";
434
+ };
435
+ readonly name: {
436
+ readonly type: "string";
437
+ };
438
+ readonly sourceRevision: {
439
+ readonly type: "string";
440
+ };
441
+ readonly sourceNodeIds: {
442
+ readonly type: "array";
443
+ readonly items: {
444
+ readonly type: "string";
445
+ };
446
+ };
447
+ readonly declaredConstraints: {
448
+ readonly type: "array";
449
+ readonly items: {
450
+ readonly type: "object";
451
+ readonly required: readonly ["nodeId", "statement"];
452
+ readonly properties: {
453
+ readonly nodeId: {
454
+ readonly type: "string";
455
+ };
456
+ readonly statement: {
457
+ readonly type: "string";
458
+ };
459
+ };
460
+ readonly additionalProperties: false;
461
+ };
462
+ };
463
+ readonly provenConstraints: {
464
+ readonly type: "array";
465
+ readonly items: {
466
+ readonly type: "object";
467
+ readonly required: readonly ["nodeId", "statement"];
468
+ readonly properties: {
469
+ readonly nodeId: {
470
+ readonly type: "string";
471
+ };
472
+ readonly statement: {
473
+ readonly type: "string";
474
+ };
475
+ };
476
+ readonly additionalProperties: false;
477
+ };
478
+ };
479
+ readonly observations: {
480
+ readonly type: "array";
481
+ readonly items: {
482
+ readonly type: "object";
483
+ readonly required: readonly ["nodeId", "value"];
484
+ readonly properties: {
485
+ readonly nodeId: {
486
+ readonly type: "string";
487
+ };
488
+ readonly value: {};
489
+ };
490
+ readonly additionalProperties: false;
491
+ };
492
+ };
493
+ readonly judgment: {
494
+ readonly type: "string";
495
+ };
496
+ readonly desiredType: {
497
+ readonly enum: readonly ["String", "Number", "Boolean", "Array", "Record", "Integer", "DateTime", "RichText", "JSON", "ResourceLink", "Literal", "DiscriminatedUnion"];
498
+ };
499
+ readonly desiredDefinition: {
500
+ readonly $ref: "#/definitions/targetDefinition";
501
+ };
502
+ readonly compatibility: {
503
+ readonly type: "object";
504
+ readonly required: readonly ["status", "sourceUseRefs", "unresolvedRequirements"];
505
+ readonly properties: {
506
+ readonly status: {
507
+ readonly enum: readonly ["judged-compatible", "unresolved", "contradicted"];
508
+ };
509
+ readonly sourceUseRefs: {
510
+ readonly type: "array";
511
+ readonly uniqueItems: true;
512
+ readonly items: {
513
+ readonly type: "string";
514
+ readonly minLength: 1;
515
+ };
516
+ };
517
+ readonly unresolvedRequirements: {
518
+ readonly type: "array";
519
+ readonly items: {
520
+ readonly type: "string";
521
+ readonly minLength: 1;
522
+ };
523
+ };
524
+ };
525
+ readonly additionalProperties: false;
526
+ };
527
+ };
528
+ readonly additionalProperties: false;
529
+ };
530
+ readonly representationPlan: {
531
+ readonly type: "object";
532
+ readonly required: readonly ["schemaVersion", "id", "kind", "identity", "sourceModel", "sourceDigest", "contextDigest", "logicalGraph", "category", "defaultIntent", "models", "mappings", "issues", "sdkValid", "requirements"];
533
+ readonly properties: {
534
+ readonly proposal: {
535
+ readonly $ref: "#/definitions/representationProposal";
536
+ };
537
+ readonly schemaVersion: {
538
+ readonly const: 1;
539
+ };
540
+ readonly id: {
541
+ readonly type: "string";
542
+ };
543
+ readonly kind: {
544
+ readonly enum: readonly ["native", "component-model"];
545
+ };
546
+ readonly identity: {
547
+ readonly type: "object";
548
+ readonly required: readonly ["componentId", "propertyId", "key", "sourceRevision", "nodeId"];
549
+ readonly properties: {
550
+ readonly componentId: {
551
+ readonly type: "string";
552
+ };
553
+ readonly propertyId: {
554
+ readonly type: "string";
555
+ };
556
+ readonly key: {
557
+ readonly type: "string";
558
+ };
559
+ readonly sourceRevision: {
560
+ readonly type: "string";
561
+ };
562
+ readonly nodeId: {
563
+ readonly type: "string";
564
+ };
565
+ };
566
+ readonly additionalProperties: false;
567
+ };
568
+ readonly logicalGraph: {
569
+ readonly type: "object";
570
+ };
571
+ readonly sourceModel: {
572
+ readonly type: "object";
573
+ };
574
+ readonly contextSnapshot: {};
575
+ readonly sourceDigest: {
576
+ readonly type: "string";
577
+ };
578
+ readonly contextDigest: {
579
+ readonly type: "string";
580
+ };
581
+ readonly category: {
582
+ readonly enum: readonly ["content", "design", "state", "unattached"];
583
+ };
584
+ readonly defaultIntent: {
585
+ readonly oneOf: readonly [{
586
+ readonly type: "object";
587
+ readonly required: readonly ["action"];
588
+ readonly properties: {
589
+ readonly action: {
590
+ readonly enum: readonly ["absent", "clear"];
591
+ };
592
+ };
593
+ readonly additionalProperties: false;
594
+ }, {
595
+ readonly type: "object";
596
+ readonly required: readonly ["action", "value"];
597
+ readonly properties: {
598
+ readonly action: {
599
+ readonly const: "set";
600
+ };
601
+ readonly value: {};
602
+ };
603
+ readonly additionalProperties: false;
604
+ }];
605
+ };
606
+ readonly sourceDefault: {
607
+ readonly type: "object";
608
+ };
609
+ readonly nativeDefinition: {
610
+ readonly $ref: "#/definitions/property";
611
+ };
612
+ readonly models: {
613
+ readonly type: "array";
614
+ readonly items: {
615
+ readonly type: "object";
616
+ readonly required: readonly ["key", "originalKey", "nodeId", "entry"];
617
+ readonly properties: {
618
+ readonly key: {
619
+ readonly type: "string";
620
+ };
621
+ readonly originalKey: {
622
+ readonly type: "string";
623
+ };
624
+ readonly nodeId: {
625
+ readonly type: "string";
626
+ };
627
+ readonly entry: {
628
+ readonly $ref: "#/definitions/component";
629
+ };
630
+ };
631
+ readonly additionalProperties: false;
632
+ };
633
+ };
634
+ readonly modelExplorations: {
635
+ readonly type: "array";
636
+ readonly items: {
637
+ schemas: Record<string, import("zod/v4/core").ZodStandardJSONSchemaPayload<import("zod/v4/core").$ZodType>>;
638
+ };
639
+ };
640
+ readonly attachment: {
641
+ readonly type: "object";
642
+ readonly required: readonly ["slot", "definition"];
643
+ readonly properties: {
644
+ readonly slot: {
645
+ readonly type: "string";
646
+ };
647
+ readonly definition: {
648
+ readonly $ref: "#/definitions/slot";
649
+ };
650
+ };
651
+ readonly additionalProperties: false;
652
+ };
653
+ readonly mappings: {
654
+ readonly type: "array";
655
+ readonly items: {
656
+ readonly type: "object";
657
+ readonly required: readonly ["nodeId", "path", "required", "nullable", "undefinable", "disposition"];
658
+ readonly properties: {
659
+ readonly nodeId: {
660
+ readonly type: "string";
661
+ };
662
+ readonly sourceNodeId: {
663
+ readonly type: "string";
664
+ };
665
+ readonly readonly: {
666
+ readonly type: "boolean";
667
+ };
668
+ readonly occurrenceReadonly: {
669
+ readonly type: "boolean";
670
+ };
671
+ readonly intrinsicReadonly: {
672
+ readonly type: "boolean";
673
+ };
674
+ readonly defaultIntent: {
675
+ readonly type: "object";
676
+ };
677
+ readonly path: {
678
+ readonly type: "array";
679
+ readonly items: {
680
+ readonly type: "object";
681
+ };
682
+ };
683
+ readonly required: {
684
+ readonly type: "boolean";
685
+ };
686
+ readonly nullable: {
687
+ readonly type: readonly ["boolean", "null"];
688
+ };
689
+ readonly undefinable: {
690
+ readonly type: readonly ["boolean", "null"];
691
+ };
692
+ readonly disposition: {
693
+ readonly enum: readonly ["native-field", "model", "slot", "reference", "reconstruction", "held"];
694
+ };
695
+ readonly reconstruction: {
696
+ readonly oneOf: readonly [{
697
+ readonly type: "object";
698
+ readonly required: readonly ["kind", "value"];
699
+ readonly properties: {
700
+ readonly kind: {
701
+ readonly const: "fixed-value";
702
+ };
703
+ readonly value: {};
704
+ };
705
+ readonly additionalProperties: false;
706
+ }, {
707
+ readonly type: "object";
708
+ readonly required: readonly ["kind", "valueNodeId"];
709
+ readonly properties: {
710
+ readonly kind: {
711
+ readonly const: "optional-value";
712
+ };
713
+ readonly valueNodeId: {
714
+ readonly type: "string";
715
+ };
716
+ };
717
+ readonly additionalProperties: false;
718
+ }, {
719
+ readonly type: "object";
720
+ readonly required: readonly ["kind", "field", "valueNodeId"];
721
+ readonly properties: {
722
+ readonly kind: {
723
+ readonly const: "object-envelope";
724
+ };
725
+ readonly field: {
726
+ readonly type: "string";
727
+ };
728
+ readonly valueNodeId: {
729
+ readonly type: "string";
730
+ };
731
+ };
732
+ readonly additionalProperties: false;
733
+ }, {
734
+ readonly type: "object";
735
+ readonly required: readonly ["kind", "itemNodeId"];
736
+ readonly properties: {
737
+ readonly kind: {
738
+ readonly const: "ordered-array";
739
+ };
740
+ readonly itemNodeId: {
741
+ readonly type: "string";
742
+ };
743
+ };
744
+ readonly additionalProperties: false;
745
+ }, {
746
+ readonly type: "object";
747
+ readonly required: readonly ["kind", "state"];
748
+ readonly properties: {
749
+ readonly kind: {
750
+ readonly const: "empty-value";
751
+ };
752
+ readonly state: {
753
+ readonly enum: readonly ["null", "undefined", "never"];
754
+ };
755
+ };
756
+ readonly additionalProperties: false;
757
+ }];
758
+ };
759
+ readonly componentKey: {
760
+ readonly type: "string";
761
+ };
762
+ readonly field: {
763
+ readonly type: "string";
764
+ };
765
+ readonly slot: {
766
+ readonly type: "string";
767
+ };
768
+ readonly targetNodeId: {
769
+ readonly type: "string";
770
+ };
771
+ readonly reason: {
772
+ readonly type: "string";
773
+ };
774
+ readonly withinValue: {
775
+ readonly type: "object";
776
+ readonly required: readonly ["ownerNodeId", "path"];
777
+ readonly properties: {
778
+ readonly ownerNodeId: {
779
+ readonly type: "string";
780
+ };
781
+ readonly path: {
782
+ readonly type: "array";
783
+ readonly items: {
784
+ readonly type: "object";
785
+ };
786
+ };
787
+ };
788
+ readonly additionalProperties: false;
789
+ };
790
+ readonly branchConditions: {
791
+ readonly type: "array";
792
+ readonly items: {
793
+ readonly type: "object";
794
+ };
795
+ };
796
+ readonly variant: {
797
+ readonly type: "object";
798
+ readonly required: readonly ["wrapperKey", "slot", "componentKey"];
799
+ readonly properties: {
800
+ readonly wrapperKey: {
801
+ readonly type: "string";
802
+ };
803
+ readonly slot: {
804
+ readonly type: "string";
805
+ };
806
+ readonly componentKey: {
807
+ readonly type: "string";
808
+ };
809
+ };
810
+ readonly additionalProperties: false;
811
+ };
812
+ };
813
+ readonly additionalProperties: false;
814
+ };
815
+ };
816
+ readonly issues: {
817
+ readonly type: "array";
818
+ readonly items: {
819
+ readonly type: "object";
820
+ readonly required: readonly ["path", "message"];
821
+ readonly properties: {
822
+ readonly path: {
823
+ readonly type: "string";
824
+ };
825
+ readonly message: {
826
+ readonly type: "string";
827
+ };
828
+ };
829
+ readonly additionalProperties: false;
830
+ };
831
+ };
832
+ readonly sdkValid: {
833
+ readonly type: "boolean";
834
+ };
835
+ readonly branchSelections: {
836
+ readonly type: "array";
837
+ readonly items: {
838
+ readonly type: "object";
839
+ };
840
+ };
841
+ readonly requirements: {
842
+ readonly type: "array";
843
+ readonly items: {
844
+ readonly type: "object";
845
+ readonly required: readonly ["path", "capability"];
846
+ readonly properties: {
847
+ readonly path: {
848
+ readonly type: "string";
849
+ };
850
+ readonly capability: {
851
+ readonly type: "string";
852
+ };
853
+ };
854
+ readonly additionalProperties: false;
855
+ };
856
+ };
857
+ };
858
+ readonly additionalProperties: false;
859
+ };
111
860
  readonly slot: {
112
861
  readonly type: "object";
113
862
  readonly properties: {
863
+ readonly $sourceInput: {
864
+ readonly $ref: "#/definitions/sourceInput";
865
+ };
866
+ readonly $modelBinding: {
867
+ readonly $ref: "#/definitions/modelBinding";
868
+ };
869
+ readonly $cardinality: {
870
+ readonly $ref: "#/definitions/modelCardinality";
871
+ };
114
872
  readonly $description: {
115
873
  readonly type: "string";
116
874
  };