contentful-management 11.60.4 → 11.61.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/dist/contentful-management.browser.js +127 -58
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +462 -203
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/typings/common-types.d.ts +1 -0
- package/dist/typings/entities/environment-template-installation.d.ts +1 -0
- package/dist/typings/plain/common-types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ function createClient(params, opts = {}) {
|
|
|
47
47
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
48
48
|
const userAgent = getUserAgentHeader(
|
|
49
49
|
// @ts-expect-error
|
|
50
|
-
`${sdkMain}/${"11.
|
|
50
|
+
`${sdkMain}/${"11.61.1"}`, params.application, params.integration, params.feature);
|
|
51
51
|
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
|
|
52
52
|
userAgent
|
|
53
53
|
}));
|
|
@@ -1484,6 +1484,7 @@ export type MRActions = {
|
|
|
1484
1484
|
params: GetEnvironmentTemplateParams & {
|
|
1485
1485
|
query?: BasicCursorPaginationOptions & {
|
|
1486
1486
|
select?: string;
|
|
1487
|
+
installable?: boolean;
|
|
1487
1488
|
};
|
|
1488
1489
|
};
|
|
1489
1490
|
return: CursorPaginatedCollectionProp<EnvironmentTemplateProps>;
|
|
@@ -35,6 +35,7 @@ export type CreateEnvironmentTemplateInstallationProps = {
|
|
|
35
35
|
items: Link<'ContentType'>[];
|
|
36
36
|
};
|
|
37
37
|
changeSet?: Link<'ChangeSet'>;
|
|
38
|
+
deleteDeletedFields?: boolean;
|
|
38
39
|
};
|
|
39
40
|
export type ValidateEnvironmentTemplateInstallationProps = Omit<CreateEnvironmentTemplateInstallationProps, 'version'>;
|
|
40
41
|
export type ValidationFinding = {
|
|
@@ -119,6 +119,7 @@ export type PlainClientAPI = {
|
|
|
119
119
|
versions(params: GetEnvironmentTemplateParams & {
|
|
120
120
|
query?: BasicCursorPaginationOptions & {
|
|
121
121
|
select?: string;
|
|
122
|
+
installable?: boolean;
|
|
122
123
|
};
|
|
123
124
|
}, headers?: RawAxiosRequestHeaders): Promise<CursorPaginatedCollectionProp<EnvironmentTemplateProps>>;
|
|
124
125
|
validate(params: EnvironmentTemplateParams & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.61.1",
|
|
4
4
|
"description": "Client for Contentful's Content Management API",
|
|
5
5
|
"homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
|
|
6
6
|
"main": "./dist/contentful-management.node.js",
|