@contentful/experiences-core 1.30.5-prerelease-20250207T1706-1350c89.0 → 1.30.5
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
|
@@ -2336,11 +2336,11 @@ function getArrayValue(entryOrAsset, path, entityStore) {
|
|
|
2336
2336
|
return result;
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
|
-
const transformBoundContentValue = (variables, entityStore, binding, resolveDesignValue, variableName,
|
|
2339
|
+
const transformBoundContentValue = (variables, entityStore, binding, resolveDesignValue, variableName, variableDefinition, path) => {
|
|
2340
2340
|
const entityOrAsset = entityStore.getEntryOrAsset(binding, path);
|
|
2341
2341
|
if (!entityOrAsset)
|
|
2342
2342
|
return;
|
|
2343
|
-
switch (
|
|
2343
|
+
switch (variableDefinition.type) {
|
|
2344
2344
|
case 'Media':
|
|
2345
2345
|
// If we bound a normal entry field to the media variable we just return the bound value
|
|
2346
2346
|
if (entityOrAsset.sys.type === 'Entry') {
|