@contentful/experiences-components-react 2.0.0-dev-20250703T1456-7a2737b.0 → 2.0.0-dev-20250704T1052-fad2ef4.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 +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1409,13 +1409,7 @@ const ParameterDefinitionSchema = z.object({
|
|
|
1409
1409
|
}),
|
|
1410
1410
|
})
|
|
1411
1411
|
.optional(),
|
|
1412
|
-
contentTypes: z.
|
|
1413
|
-
sys: z.object({
|
|
1414
|
-
type: z.literal('Link'),
|
|
1415
|
-
id: z.string(),
|
|
1416
|
-
linkType: z.enum(['ContentType']),
|
|
1417
|
-
}),
|
|
1418
|
-
})),
|
|
1412
|
+
contentTypes: z.array(z.string()),
|
|
1419
1413
|
passToNodes: z.array(PassToNodeSchema).optional(),
|
|
1420
1414
|
});
|
|
1421
1415
|
const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefinitionSchema);
|
|
@@ -1435,7 +1429,7 @@ const ComponentSettingsSchema = z
|
|
|
1435
1429
|
variableDefinitions: ComponentVariablesSchema,
|
|
1436
1430
|
thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
|
|
1437
1431
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
1438
|
-
prebindingDefinitions: z.array(PrebindingDefinitionSchema).
|
|
1432
|
+
prebindingDefinitions: z.array(PrebindingDefinitionSchema).length(1).optional(),
|
|
1439
1433
|
})
|
|
1440
1434
|
.strict();
|
|
1441
1435
|
z.object({
|