contentful-management 11.47.3 → 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 +19 -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 +19 -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/typings/common-types.d.ts +17 -1
- package/dist/typings/create-environment-api.d.ts +13 -3
- package/dist/typings/plain/entities/function-log.d.ts +14 -2
- package/package.json +1 -1
|
@@ -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))
|
|
@@ -31991,7 +32008,7 @@ function createClient(params, opts = {}) {
|
|
|
31991
32008
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
31992
32009
|
const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
|
|
31993
32010
|
// @ts-expect-error
|
|
31994
|
-
`${sdkMain}/${"11.
|
|
32011
|
+
`${sdkMain}/${"11.48.0"}`, params.application, params.integration, params.feature);
|
|
31995
32012
|
const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
31996
32013
|
userAgent
|
|
31997
32014
|
}));
|