@contentful/experiences-core 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
@@ -900,7 +900,13 @@ const PatternPropertyDefinitionSchema = z.object({
900
900
  }),
901
901
  }))
902
902
  .optional(),
903
- contentTypes: z.record(z.string(), z.any()),
903
+ contentTypes: z.record(z.string(), z.object({
904
+ sys: z.object({
905
+ type: z.literal('Link'),
906
+ id: z.string(),
907
+ linkType: z.enum(['ContentType']),
908
+ }),
909
+ })),
904
910
  });
905
911
  const PatternPropertyDefinitionsSchema = z.record(propertyKeySchema, PatternPropertyDefinitionSchema);
906
912
  // TODO: finalize schema structure before release