contentful-management 8.1.3 → 8.2.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 +12 -2
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.legacy.js +12 -2
- package/dist/contentful-management.legacy.js.map +1 -1
- package/dist/contentful-management.legacy.min.js +1 -1
- package/dist/contentful-management.node.js +12 -2
- 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/es-modules/entities/workflow-definition.js +9 -0
- package/dist/typings/entities/workflow-definition.d.ts +29 -4
- package/package.json +1 -1
|
@@ -10132,7 +10132,7 @@ function createClient(params) {
|
|
|
10132
10132
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
10133
10133
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
10134
10134
|
var userAgent = Object(contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__["getUserAgentHeader"])( // @ts-expect-error
|
|
10135
|
-
"".concat(sdkMain, "/").concat("8.
|
|
10135
|
+
"".concat(sdkMain, "/").concat("8.2.0"), params.application, params.integration, params.feature);
|
|
10136
10136
|
var adapter = Object(_create_adapter__WEBPACK_IMPORTED_MODULE_1__["createAdapter"])(params); // Parameters<?> and ReturnType<?> only return the types of the last overload
|
|
10137
10137
|
// https://github.com/microsoft/TypeScript/issues/26591
|
|
10138
10138
|
// @ts-expect-error
|
|
@@ -19631,11 +19631,12 @@ var wrapWebhookCollection = Object(_common_utils__WEBPACK_IMPORTED_MODULE_2__["w
|
|
|
19631
19631
|
/*!*****************************************!*\
|
|
19632
19632
|
!*** ./entities/workflow-definition.ts ***!
|
|
19633
19633
|
\*****************************************/
|
|
19634
|
-
/*! exports provided: default, wrapWorkflowDefinition, wrapWorkflowDefinitionCollection */
|
|
19634
|
+
/*! exports provided: WorkflowStepActionType, default, wrapWorkflowDefinition, wrapWorkflowDefinitionCollection */
|
|
19635
19635
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19636
19636
|
|
|
19637
19637
|
"use strict";
|
|
19638
19638
|
__webpack_require__.r(__webpack_exports__);
|
|
19639
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WorkflowStepActionType", function() { return WorkflowStepActionType; });
|
|
19639
19640
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return createWorkflowDefinitionApi; });
|
|
19640
19641
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrapWorkflowDefinition", function() { return wrapWorkflowDefinition; });
|
|
19641
19642
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrapWorkflowDefinitionCollection", function() { return wrapWorkflowDefinitionCollection; });
|
|
@@ -19655,6 +19656,15 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
19655
19656
|
|
|
19656
19657
|
|
|
19657
19658
|
|
|
19659
|
+
/* Workflow Step Action */
|
|
19660
|
+
var WorkflowStepActionType;
|
|
19661
|
+
|
|
19662
|
+
(function (WorkflowStepActionType) {
|
|
19663
|
+
WorkflowStepActionType["App"] = "app";
|
|
19664
|
+
WorkflowStepActionType["Email"] = "email";
|
|
19665
|
+
WorkflowStepActionType["Task"] = "task";
|
|
19666
|
+
})(WorkflowStepActionType || (WorkflowStepActionType = {}));
|
|
19667
|
+
|
|
19658
19668
|
/**
|
|
19659
19669
|
* @private
|
|
19660
19670
|
*/
|