@contentful/experiences-visual-editor-react 1.34.1-dev-20250305T1630-a40e5df.0 → 1.34.1-dev-20250305T1751-00bb629.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
@@ -987,11 +987,13 @@ const VariableMappingsSchema$1 = z.record(propertyKeySchema$1, VariableMappingSc
987
987
  // https://contentful.atlassian.net/browse/LUMOS-523
988
988
  const PatternPropertyDefinitionSchema$1 = z.object({
989
989
  defaultValue: z
990
- .object({
991
- path: z.string(),
992
- type: z.literal('BoundValue'),
993
- contentType: z.string(),
994
- })
990
+ .record(z.string(), z.object({
991
+ sys: z.object({
992
+ type: z.literal('Link'),
993
+ id: z.string(),
994
+ linkType: z.enum(['Entry']),
995
+ }),
996
+ }))
995
997
  .optional(),
996
998
  contentTypes: z.record(z.string(), z.any()),
997
999
  });
@@ -3425,11 +3427,13 @@ const VariableMappingsSchema = z.record(propertyKeySchema, VariableMappingSchema
3425
3427
  // https://contentful.atlassian.net/browse/LUMOS-523
3426
3428
  const PatternPropertyDefinitionSchema = z.object({
3427
3429
  defaultValue: z
3428
- .object({
3429
- path: z.string(),
3430
- type: z.literal('BoundValue'),
3431
- contentType: z.string(),
3432
- })
3430
+ .record(z.string(), z.object({
3431
+ sys: z.object({
3432
+ type: z.literal('Link'),
3433
+ id: z.string(),
3434
+ linkType: z.enum(['Entry']),
3435
+ }),
3436
+ }))
3433
3437
  .optional(),
3434
3438
  contentTypes: z.record(z.string(), z.any()),
3435
3439
  });