@contentful/experiences-visual-editor-react 1.42.3 → 1.42.4-prerelease-20250702T1207-37b3bfc.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/renderApp.js CHANGED
@@ -43457,13 +43457,7 @@ const ParameterDefinitionSchema$1 = z.object({
43457
43457
  }),
43458
43458
  })
43459
43459
  .optional(),
43460
- contentTypes: z.record(z.string(), z.object({
43461
- sys: z.object({
43462
- type: z.literal('Link'),
43463
- id: z.string(),
43464
- linkType: z.enum(['ContentType']),
43465
- }),
43466
- })),
43460
+ contentTypes: z.array(z.string()),
43467
43461
  passToNodes: z.array(PassToNodeSchema$1).optional(),
43468
43462
  });
43469
43463
  const ParameterDefinitionsSchema$1 = z.record(propertyKeySchema$1, ParameterDefinitionSchema$1);
@@ -43483,7 +43477,7 @@ const ComponentSettingsSchema$1 = z
43483
43477
  variableDefinitions: ComponentVariablesSchema$1,
43484
43478
  thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
43485
43479
  category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
43486
- prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).max(1).optional(),
43480
+ prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).length(1).optional(),
43487
43481
  })
43488
43482
  .strict();
43489
43483
  z.object({
@@ -58626,13 +58620,7 @@ const ParameterDefinitionSchema = z.object({
58626
58620
  }),
58627
58621
  })
58628
58622
  .optional(),
58629
- contentTypes: z.record(z.string(), z.object({
58630
- sys: z.object({
58631
- type: z.literal('Link'),
58632
- id: z.string(),
58633
- linkType: z.enum(['ContentType']),
58634
- }),
58635
- })),
58623
+ contentTypes: z.array(z.string()),
58636
58624
  passToNodes: z.array(PassToNodeSchema).optional(),
58637
58625
  });
58638
58626
  const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefinitionSchema);
@@ -58652,7 +58640,7 @@ const ComponentSettingsSchema = z
58652
58640
  variableDefinitions: ComponentVariablesSchema,
58653
58641
  thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
58654
58642
  category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
58655
- prebindingDefinitions: z.array(PrebindingDefinitionSchema).max(1).optional(),
58643
+ prebindingDefinitions: z.array(PrebindingDefinitionSchema).length(1).optional(),
58656
58644
  })
58657
58645
  .strict();
58658
58646
  z.object({