@contentful/experiences-visual-editor-react 2.0.0-beta.1 → 2.0.0-dev-20250703T1456-7a2737b.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
@@ -43964,7 +43964,13 @@ const ParameterDefinitionSchema$1 = z.object({
43964
43964
  }),
43965
43965
  })
43966
43966
  .optional(),
43967
- contentTypes: z.array(z.string()),
43967
+ contentTypes: z.record(z.string(), z.object({
43968
+ sys: z.object({
43969
+ type: z.literal('Link'),
43970
+ id: z.string(),
43971
+ linkType: z.enum(['ContentType']),
43972
+ }),
43973
+ })),
43968
43974
  passToNodes: z.array(PassToNodeSchema$1).optional(),
43969
43975
  });
43970
43976
  const ParameterDefinitionsSchema$1 = z.record(propertyKeySchema$1, ParameterDefinitionSchema$1);
@@ -43984,7 +43990,7 @@ const ComponentSettingsSchema$1 = z
43984
43990
  variableDefinitions: ComponentVariablesSchema$1,
43985
43991
  thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
43986
43992
  category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
43987
- prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).length(1).optional(),
43993
+ prebindingDefinitions: z.array(PrebindingDefinitionSchema$1).max(1).optional(),
43988
43994
  })
43989
43995
  .strict();
43990
43996
  z.object({
@@ -58728,7 +58734,13 @@ const ParameterDefinitionSchema = z.object({
58728
58734
  }),
58729
58735
  })
58730
58736
  .optional(),
58731
- contentTypes: z.array(z.string()),
58737
+ contentTypes: z.record(z.string(), z.object({
58738
+ sys: z.object({
58739
+ type: z.literal('Link'),
58740
+ id: z.string(),
58741
+ linkType: z.enum(['ContentType']),
58742
+ }),
58743
+ })),
58732
58744
  passToNodes: z.array(PassToNodeSchema).optional(),
58733
58745
  });
58734
58746
  const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefinitionSchema);
@@ -58748,7 +58760,7 @@ const ComponentSettingsSchema = z
58748
58760
  variableDefinitions: ComponentVariablesSchema,
58749
58761
  thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
58750
58762
  category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
58751
- prebindingDefinitions: z.array(PrebindingDefinitionSchema).length(1).optional(),
58763
+ prebindingDefinitions: z.array(PrebindingDefinitionSchema).max(1).optional(),
58752
58764
  })
58753
58765
  .strict();
58754
58766
  z.object({