@se-studio/contentful-cms 3.16.14 → 3.16.16
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 +12 -0
- package/dist/contentful/cma-user-agent.d.ts +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/publish/classify.d.ts +2 -2
- package/dist/publish/classify.d.ts.map +1 -1
- package/dist/publish/classify.js +4 -1
- package/dist/publish/classify.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @se-studio/contentful-cms Changelog
|
|
2
2
|
|
|
3
|
+
## 3.16.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d6031fc: Pin the fleet Next.js override docs to ^16.4.3. Move dev React and React DOM to ^19.3.1, and direct Zod dependencies to ^4.6.7. Peer ranges already accept React 19.3.1.
|
|
8
|
+
|
|
9
|
+
## 3.16.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- e2cb459: `contentfulAnyEntryRest` uses the delivery API unless `preview` is set. Delivery fetches are cached and tagged `entry#<id>`. Publishing or unpublishing any entry revalidates that tag. Preview fetches are cached under `global`. `component` and `collection` are on the published-entry webhook list. `contentfulComponentRest` and `getPreviewEntryInfo` stay on the Preview API.
|
|
14
|
+
|
|
3
15
|
## 3.16.14
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** SDK `application` value. Becomes `app cms-edit/<version>` in X-Contentful-User-Agent. */
|
|
2
|
-
export declare const CMA_APPLICATION = "cms-edit/3.16.
|
|
2
|
+
export declare const CMA_APPLICATION = "cms-edit/3.16.16";
|
|
3
3
|
export declare function cmaClientOptions(accessToken: string): {
|
|
4
4
|
accessToken: string;
|
|
5
5
|
application: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Generated by scripts/generate-embedded-assets.mjs — do not edit manually.
|
|
2
2
|
export const CMS_EDIT_PACKAGE_NAME = "@se-studio/contentful-cms";
|
|
3
|
-
export const CMS_EDIT_VERSION = "3.16.
|
|
3
|
+
export const CMS_EDIT_VERSION = "3.16.16";
|
|
4
4
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Content types
|
|
2
|
+
* Content types on the published-entry webhook.
|
|
3
3
|
* Keep this aligned with REVALIDATION_WEBHOOK_ENTRY_CONTENT_TYPES in
|
|
4
4
|
* @se-studio/contentful-rest-api (contentful-cms does not depend on that package).
|
|
5
5
|
*/
|
|
6
|
-
export declare const WEBHOOK_CONTENT_TYPES: readonly ['article', 'articleType', 'banner', 'customType', 'link', 'location', 'navigation', 'navigationItem', 'page', 'pageVariant', 'person', 'personType', 'schema', 'tag', 'tagType', 'template'];
|
|
6
|
+
export declare const WEBHOOK_CONTENT_TYPES: readonly ['article', 'articleType', 'banner', 'collection', 'component', 'customType', 'externalComponent', 'link', 'location', 'navigation', 'navigationItem', 'page', 'pageVariant', 'person', 'personType', 'schema', 'tag', 'tagType', 'template'];
|
|
7
7
|
export declare const DEFAULT_ROOT_CONTENT_TYPES: readonly ['article', 'articleType', 'customType', 'page', 'pageVariant', 'person', 'personType', 'tag', 'tagType'];
|
|
8
8
|
export type ContentClass = 'root' | 'webhook' | 'embedded' | 'refused';
|
|
9
9
|
export declare function isAllowedExtraRoot(contentType: string): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classify.d.ts","sourceRoot":"","sources":["../../src/publish/classify.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,YAChC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,MAAM,EACN,aAAa,EACb,QAAQ,EACR,YA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AAKX,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvE,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAM3E;AAED,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,UAAU,EAAE,SAAS,MAAM,EAAE,GAC5B,YAAY,CAKd;AAED,2DAA2D;AAC3D,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEzE;AAoBD,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAG/E"}
|
package/dist/publish/classify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Content types
|
|
2
|
+
* Content types on the published-entry webhook.
|
|
3
3
|
* Keep this aligned with REVALIDATION_WEBHOOK_ENTRY_CONTENT_TYPES in
|
|
4
4
|
* @se-studio/contentful-rest-api (contentful-cms does not depend on that package).
|
|
5
5
|
*/
|
|
@@ -7,7 +7,10 @@ export const WEBHOOK_CONTENT_TYPES = [
|
|
|
7
7
|
'article',
|
|
8
8
|
'articleType',
|
|
9
9
|
'banner',
|
|
10
|
+
'collection',
|
|
11
|
+
'component',
|
|
10
12
|
'customType',
|
|
13
|
+
'externalComponent',
|
|
11
14
|
'link',
|
|
12
15
|
'location',
|
|
13
16
|
'navigation',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classify.js","sourceRoot":"","sources":["../../src/publish/classify.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,SAAS;IACT,aAAa;IACb,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,UA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GAAG,CAAS,cAAc,CAAC,CAAC;IAC9C,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;QAC9B,IAAI,kBAAkB,CAAC,IAAI,CAAC;YAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,WAA+B,EAC/B,UAA6B;IAE7B,IAAI,CAAC,WAAW,IAAI,WAAW,KAAK,UAAU;QAAE,OAAO,SAAS,CAAC;IACjE,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC;QAAE,OAAO,MAAM,CAAC;IACjE,IAAI,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;QAAE,OAAO,SAAS,CAAC;IAClD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,2DAA2D;AAC3D,MAAM,UAAU,gBAAgB,CAAC,WAA+B;IAC9D,OAAO,WAAW,KAAK,UAAU,CAAC;AACpC,CAAC;AAED,MAAM,aAAa,GAA2B;IAC5C,MAAM,EACJ,8HAA8H;IAChI,QAAQ,EACN,sHAAsH;IACxH,WAAW,EACT,oGAAoG;IACtG,UAAU,EACR,4GAA4G;IAC9G,UAAU,EACR,4FAA4F;IAC9F,cAAc,EACZ,mGAAmG;IACrG,IAAI,EAAE,qEAAqE;IAC3E,MAAM,EAAE,yEAAyE;IACjF,QAAQ,EAAE,iFAAiF;CAC5F,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,WAA+B;IACzD,IAAI,CAAC,WAAW;QAAE,OAAO,SAAS,CAAC;IACnC,OAAO,aAAa,CAAC,WAAW,CAAC,CAAC;AACpC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/contentful-cms",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.16",
|
|
4
4
|
"description": "CLI tool for AI agents to edit Contentful drafts and, when the user's role allows it, publish after an explicit yes",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"jose": "^6.2.12",
|
|
71
71
|
"picocolors": "^1.1.1",
|
|
72
72
|
"tar": "^7.5.22",
|
|
73
|
-
"zod": "^4.6.
|
|
73
|
+
"zod": "^4.6.7"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@biomejs/biome": "^2.5.15",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@types/react-dom": "^19.3.0",
|
|
80
80
|
"@upstash/redis": "^1.39.0",
|
|
81
81
|
"next": "^16.3.4",
|
|
82
|
-
"react": "^19.3.
|
|
83
|
-
"react-dom": "^19.3.
|
|
82
|
+
"react": "^19.3.1",
|
|
83
|
+
"react-dom": "^19.3.1",
|
|
84
84
|
"typescript": "^7.0.2",
|
|
85
85
|
"vitest": "^5.0.3"
|
|
86
86
|
},
|