@contentful/experiences-visual-editor-react 1.33.2-dev-20250225T2029-64ebb60.0 → 1.33.2-dev-20250226T2047-b9a00dc.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
@@ -42774,8 +42774,8 @@ const structureComponentIds = new Set([
42774
42774
  const patternTypes = new Set([ASSEMBLY_NODE_TYPE$1, ASSEMBLY_BLOCK_NODE_TYPE$1]);
42775
42775
  const allContentfulComponentIds = new Set(Object.values(CONTENTFUL_COMPONENTS$2).map((component) => component.id));
42776
42776
  const isPatternComponent = (type) => patternTypes.has(type ?? '');
42777
- const isContentfulStructureComponent = (componentId) => structureComponentIds.has(componentId ?? '');
42778
- const isContentfulComponent = (componentId) => allContentfulComponentIds.has(componentId ?? '');
42777
+ const isContentfulStructureComponent = (componentId) => structureComponentIds.has((componentId ?? ''));
42778
+ const isContentfulComponent = (componentId) => allContentfulComponentIds.has((componentId ?? ''));
42779
42779
  const isComponentAllowedOnRoot = ({ type, category, componentId }) => isPatternComponent(type) ||
42780
42780
  category === ASSEMBLY_DEFAULT_CATEGORY$1 ||
42781
42781
  isContentfulStructureComponent(componentId) ||
@@ -43571,6 +43571,7 @@ const PatternPropertyDefinitionSchema$1 = z.object({
43571
43571
  .object({
43572
43572
  path: z.string(),
43573
43573
  type: z.literal('BoundValue'),
43574
+ contentType: z.string(),
43574
43575
  })
43575
43576
  .optional(),
43576
43577
  contentTypes: z.record(z.string(), z.any()),
@@ -58297,6 +58298,7 @@ const PatternPropertyDefinitionSchema = z.object({
58297
58298
  .object({
58298
58299
  path: z.string(),
58299
58300
  type: z.literal('BoundValue'),
58301
+ contentType: z.string(),
58300
58302
  })
58301
58303
  .optional(),
58302
58304
  contentTypes: z.record(z.string(), z.any()),