@contentful/experiences-core 1.12.1-prerelease-20240821T2336-6c0f14a.0 → 1.13.0-dev-20240829T1321-51cd5a2.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 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -4
package/dist/index.js
CHANGED
|
@@ -1111,6 +1111,7 @@ const HyperlinkValueSchema = z
|
|
|
1111
1111
|
.object({
|
|
1112
1112
|
type: z.literal('HyperlinkValue'),
|
|
1113
1113
|
linkTargetKey: z.string(),
|
|
1114
|
+
/** Allows to override parts of the URL, e.g. the locale */
|
|
1114
1115
|
overrides: z.object({}).optional(),
|
|
1115
1116
|
})
|
|
1116
1117
|
.strict();
|
|
@@ -3311,7 +3312,7 @@ const fetchAllEntries = async ({ client, ids, locale, skip = 0, limit = 100, res
|
|
|
3311
3312
|
};
|
|
3312
3313
|
}
|
|
3313
3314
|
const query = { 'sys.id[in]': ids, locale, limit, skip };
|
|
3314
|
-
const { items, includes, total: responseTotal } = await client.getEntries({ ...query });
|
|
3315
|
+
const { items, includes, total: responseTotal, } = await client.withoutLinkResolution.getEntries({ ...query });
|
|
3315
3316
|
responseItems.push(...items);
|
|
3316
3317
|
responseIncludes?.Entry?.push(...(includes?.Entry || []));
|
|
3317
3318
|
responseIncludes?.Asset?.push(...(includes?.Asset || []));
|