@contentful/experiences-core 1.28.3 → 1.29.0-dev-20250122T2215-765f857.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
@@ -1176,6 +1176,9 @@ const BaseComponentTreeNodeSchema = z.object({
1176
1176
  const ComponentTreeNodeSchema = BaseComponentTreeNodeSchema.extend({
1177
1177
  children: z.lazy(() => ComponentTreeNodeSchema.array()),
1178
1178
  });
1179
+ const BindingSourceTypeEnumSchema = z
1180
+ .array(z.enum(['entry', 'asset', 'manual', 'experience']))
1181
+ .nonempty();
1179
1182
  const ComponentVariableSchema = z.object({
1180
1183
  displayName: z.string().optional(),
1181
1184
  type: DefinitionPropertyTypeSchema,
@@ -1184,6 +1187,7 @@ const ComponentVariableSchema = z.object({
1184
1187
  defaultValue: PrimitiveValueSchema.or(ComponentPropertyValueSchema).optional(),
1185
1188
  validations: z
1186
1189
  .object({
1190
+ bindingSourceType: BindingSourceTypeEnumSchema.optional(),
1187
1191
  required: z.boolean().optional(),
1188
1192
  format: z.literal('URL').optional(),
1189
1193
  in: z