contentful-management 11.47.2 → 11.48.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/contentful-management.browser.js +28 -2
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +28 -2
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/common-types.js +7 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-environment-api.js +11 -1
- package/dist/es-modules/entities/app-action.js +9 -0
- package/dist/typings/common-types.d.ts +17 -1
- package/dist/typings/create-environment-api.d.ts +13 -3
- package/dist/typings/create-organization-api.d.ts +264 -6
- package/dist/typings/entities/app-action.d.ts +59 -14
- package/dist/typings/plain/entities/app-action.d.ts +46 -0
- package/dist/typings/plain/entities/function-log.d.ts +14 -2
- package/package.json +7 -2
|
@@ -4840,6 +4840,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4840
4840
|
|
|
4841
4841
|
// Interfaces for each “exclusive” shape
|
|
4842
4842
|
|
|
4843
|
+
// Helper type for creating property paths with comparison operators
|
|
4844
|
+
// For example "sys.createdAt[gte]", P = sys.createdAt, O = gte
|
|
4845
|
+
|
|
4846
|
+
// Helper types to ensure only one start operator can be used and only one end operator can be used
|
|
4847
|
+
|
|
4848
|
+
// Type for valid date range combinations - only start, only end, or both
|
|
4849
|
+
|
|
4843
4850
|
/**
|
|
4844
4851
|
* @private
|
|
4845
4852
|
*/
|
|
@@ -8674,7 +8681,17 @@ function createEnvironmentApi(makeRequest) {
|
|
|
8674
8681
|
* environment.getFunctionLogs(
|
|
8675
8682
|
* '<app-installation-id>',
|
|
8676
8683
|
* '<function-id>',
|
|
8677
|
-
* {
|
|
8684
|
+
* {
|
|
8685
|
+
* query: {
|
|
8686
|
+
* // optional limit
|
|
8687
|
+
* limit: 10,
|
|
8688
|
+
* // optional interval query
|
|
8689
|
+
* 'sys.createdAt[gte]': start,
|
|
8690
|
+
* 'sys.createdAt[lt]': end,
|
|
8691
|
+
* // optional cursor based pagination parameters
|
|
8692
|
+
* pagePrev: '<page_prev>',
|
|
8693
|
+
* },
|
|
8694
|
+
* },
|
|
8678
8695
|
* )
|
|
8679
8696
|
* )
|
|
8680
8697
|
* .then((functionLogs) => console.log(functionLog.items))
|
|
@@ -13105,6 +13122,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13105
13122
|
|
|
13106
13123
|
|
|
13107
13124
|
|
|
13125
|
+
|
|
13126
|
+
/**
|
|
13127
|
+
* 'function' is deprecated, use 'function-invocation' instead
|
|
13128
|
+
*/
|
|
13129
|
+
|
|
13130
|
+
/**
|
|
13131
|
+
* @deprecated Use FunctionAppActionProps instead
|
|
13132
|
+
*/
|
|
13133
|
+
|
|
13108
13134
|
/**
|
|
13109
13135
|
* @private
|
|
13110
13136
|
*/
|
|
@@ -31982,7 +32008,7 @@ function createClient(params, opts = {}) {
|
|
|
31982
32008
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
31983
32009
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
31984
32010
|
// @ts-expect-error
|
|
31985
|
-
`${sdkMain}/${"11.
|
|
32011
|
+
`${sdkMain}/${"11.48.0"}`, params.application, params.integration, params.feature);
|
|
31986
32012
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
31987
32013
|
userAgent
|
|
31988
32014
|
}));
|