contentful 11.11.1 → 11.12.1
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/README.md +7 -6
- package/dist/contentful.browser.js +207 -130
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.cjs +441 -305
- package/dist/esm/create-contentful-api.js +37 -12
- package/dist/esm/make-client.js +15 -0
- package/dist/stats-browser-min.html +1 -1
- package/dist/types/types/client.d.ts +2 -1
- package/dist/types/utils/client-helpers.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -340,12 +340,13 @@ When initialising a client, you will receive an instance of the [`ContentfulClie
|
|
|
340
340
|
|
|
341
341
|
#### Entries
|
|
342
342
|
|
|
343
|
-
| Chain
|
|
344
|
-
|
|
|
345
|
-
| _none (default)_
|
|
346
|
-
| `withAllLocales`
|
|
347
|
-
| `withoutLinkResolution`
|
|
348
|
-
| `withoutUnresolvableLinks`
|
|
343
|
+
| Chain | Modifier |
|
|
344
|
+
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
345
|
+
| _none (default)_ | Returns entries in a single locale. Resolvable linked entries will be inlined while unresolvable links will be kept as link objects. [Read more on link resolution](ADVANCED.md#link-resolution) |
|
|
346
|
+
| `withAllLocales` | Returns entries in all locales. |
|
|
347
|
+
| `withoutLinkResolution` | All linked entries will be rendered as link objects. [Read more on link resolution](ADVANCED.md#link-resolution) |
|
|
348
|
+
| `withoutUnresolvableLinks` | If linked entries are not resolvable, the corresponding link objects are removed from the response. |
|
|
349
|
+
| `withLocaleBasedPublishing` | Fetched entries & assets will be returned with only content from published locales. |
|
|
349
350
|
|
|
350
351
|
##### Example
|
|
351
352
|
|