@se-studio/contentful-rest-api 1.0.105 → 1.0.106
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/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,7 @@ import type { ContentfulConfig, FetchOptions } from '../types';
|
|
|
5
5
|
* Fetches a single component, collection, or external component entry from Contentful
|
|
6
6
|
* by entry ID and returns it as a base-converted typed object.
|
|
7
7
|
*
|
|
8
|
-
* Intended for use in dev-only preview render routes (`/cms
|
|
8
|
+
* Intended for use in dev-only preview render routes (`/cms/preview/render?id=`).
|
|
9
9
|
* Always fetches from the Preview API to show draft content.
|
|
10
10
|
*
|
|
11
11
|
* @param context - Base converter context (URL calculators, resolvers)
|
|
@@ -39,7 +39,7 @@ export declare function contentfulAnyEntryRest(context: BaseConverterContext, co
|
|
|
39
39
|
* Fetches a single component, collection, or external component entry from Contentful
|
|
40
40
|
* by entry ID and returns it as a base-converted typed object.
|
|
41
41
|
*
|
|
42
|
-
* Intended for use in dev-only preview render routes (`/cms
|
|
42
|
+
* Intended for use in dev-only preview render routes (`/cms/preview/render?id=`).
|
|
43
43
|
* Always fetches from the Preview API to show draft content.
|
|
44
44
|
* For person entries use contentfulAnyEntryRest instead.
|
|
45
45
|
*
|
|
@@ -62,7 +62,7 @@ export async function contentfulAnyEntryRest(context, config, entryId, options)
|
|
|
62
62
|
* Fetches a single component, collection, or external component entry from Contentful
|
|
63
63
|
* by entry ID and returns it as a base-converted typed object.
|
|
64
64
|
*
|
|
65
|
-
* Intended for use in dev-only preview render routes (`/cms
|
|
65
|
+
* Intended for use in dev-only preview render routes (`/cms/preview/render?id=`).
|
|
66
66
|
* Always fetches from the Preview API to show draft content.
|
|
67
67
|
* For person entries use contentfulAnyEntryRest instead.
|
|
68
68
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/contentful-rest-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.106",
|
|
4
4
|
"description": "Type-safe Contentful REST API client with caching and rate limiting for Next.js applications",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@contentful/rich-text-types": "^17.2.5",
|
|
51
51
|
"contentful": "^11.10.6",
|
|
52
52
|
"server-only": "0.0.1",
|
|
53
|
-
"@se-studio/core-data-types": "1.0.
|
|
53
|
+
"@se-studio/core-data-types": "1.0.106"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"next": ">=15.5.0"
|