@contentful/experiences-visual-editor-react 1.37.3-dev-20250523T0645-49fc5b0.0 → 1.38.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -679,7 +679,13 @@ const PatternPropertyDefinitionSchema$1 = z.object({
679
679
  }),
680
680
  }))
681
681
  .optional(),
682
- contentTypes: z.record(z.string(), z.any()),
682
+ contentTypes: z.record(z.string(), z.object({
683
+ sys: z.object({
684
+ type: z.literal('Link'),
685
+ id: z.string(),
686
+ linkType: z.enum(['ContentType']),
687
+ }),
688
+ })),
683
689
  });
684
690
  const PatternPropertyDefinitionsSchema$1 = z.record(propertyKeySchema$1, PatternPropertyDefinitionSchema$1);
685
691
  // TODO: finalize schema structure before release
@@ -3462,7 +3468,13 @@ const PatternPropertyDefinitionSchema = z.object({
3462
3468
  }),
3463
3469
  }))
3464
3470
  .optional(),
3465
- contentTypes: z.record(z.string(), z.any()),
3471
+ contentTypes: z.record(z.string(), z.object({
3472
+ sys: z.object({
3473
+ type: z.literal('Link'),
3474
+ id: z.string(),
3475
+ linkType: z.enum(['ContentType']),
3476
+ }),
3477
+ })),
3466
3478
  });
3467
3479
  const PatternPropertyDefinitionsSchema = z.record(propertyKeySchema, PatternPropertyDefinitionSchema);
3468
3480
  // TODO: finalize schema structure before release