@contentful/experiences-core 1.42.3 → 1.42.4-prerelease-20250702T1207-37b3bfc.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/entity/EntityStore.d.ts +1 -7
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -29,13 +29,7 @@ declare class EntityStore extends EntityStoreBase {
|
|
|
29
29
|
}>;
|
|
30
30
|
}>;
|
|
31
31
|
get hoistedParameterDefinitions(): Record<string, {
|
|
32
|
-
contentTypes:
|
|
33
|
-
sys: {
|
|
34
|
-
type: "Link";
|
|
35
|
-
id: string;
|
|
36
|
-
linkType: "ContentType";
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
32
|
+
contentTypes: string[];
|
|
39
33
|
defaultSource?: {
|
|
40
34
|
type: "Entry";
|
|
41
35
|
contentTypeId: string;
|
package/dist/index.js
CHANGED
|
@@ -1066,13 +1066,7 @@ const ParameterDefinitionSchema = z.object({
|
|
|
1066
1066
|
}),
|
|
1067
1067
|
})
|
|
1068
1068
|
.optional(),
|
|
1069
|
-
contentTypes: z.
|
|
1070
|
-
sys: z.object({
|
|
1071
|
-
type: z.literal('Link'),
|
|
1072
|
-
id: z.string(),
|
|
1073
|
-
linkType: z.enum(['ContentType']),
|
|
1074
|
-
}),
|
|
1075
|
-
})),
|
|
1069
|
+
contentTypes: z.array(z.string()),
|
|
1076
1070
|
passToNodes: z.array(PassToNodeSchema).optional(),
|
|
1077
1071
|
});
|
|
1078
1072
|
const ParameterDefinitionsSchema = z.record(propertyKeySchema, ParameterDefinitionSchema);
|
|
@@ -1092,7 +1086,7 @@ const ComponentSettingsSchema = z
|
|
|
1092
1086
|
variableDefinitions: ComponentVariablesSchema,
|
|
1093
1087
|
thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
|
|
1094
1088
|
category: z.string().max(50, 'Category must contain at most 50 characters').optional(),
|
|
1095
|
-
prebindingDefinitions: z.array(PrebindingDefinitionSchema).
|
|
1089
|
+
prebindingDefinitions: z.array(PrebindingDefinitionSchema).length(1).optional(),
|
|
1096
1090
|
})
|
|
1097
1091
|
.strict();
|
|
1098
1092
|
z.object({
|