@webiny/api-apw 5.37.2 → 5.37.3-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/ApwChangeRequestNotification.js +3 -1
- package/ApwCommentNotification.js +3 -1
- package/ApwContentReviewNotification.js +3 -1
- package/ApwContentUrlPlugin.js +3 -1
- package/ContentApwSettingsPlugin.js +3 -1
- package/crud/createChangeRequestMethods.js +3 -1
- package/crud/createCommentMethods.js +3 -1
- package/crud/createContentReviewMethods.js +3 -1
- package/crud/createReviewerMethods.js +3 -1
- package/crud/createWorkflowMethods.js +3 -1
- package/crud/index.js +3 -1
- package/crud/utils.js +3 -1
- package/index.js +3 -1
- package/package.json +26 -26
- package/plugins/cms/CmsEntryApwSettingsGetterPlugin.js +3 -1
- package/plugins/cms/apwEntryPlugins.js +3 -1
- package/plugins/cms/index.js +3 -1
- package/plugins/cms/linkContentReviewToEntry.js +3 -1
- package/plugins/cms/linkWorkflowToEntry.js +3 -1
- package/plugins/cms/notifications/changeRequestNotification.js +3 -1
- package/plugins/cms/notifications/commentNotification.js +3 -1
- package/plugins/cms/notifications/contentReviewNotification.js +3 -1
- package/plugins/cms/notifications/contentUrl.js +3 -1
- package/plugins/cms/triggerContentReview.js +3 -1
- package/plugins/cms/updateContentReviewStatus.js +3 -1
- package/plugins/cms/utils.js +3 -1
- package/plugins/context.js +3 -1
- package/plugins/graphql/changeRequest.gql.js +3 -1
- package/plugins/graphql/comment.gql.js +3 -1
- package/plugins/graphql/contentReview.gql.js +3 -1
- package/plugins/graphql/reviewer.gql.js +3 -1
- package/plugins/graphql/workflow.gql.js +3 -1
- package/plugins/graphql.js +3 -1
- package/plugins/hooks/createReviewerFromIdentity.js +3 -1
- package/plugins/hooks/deleteChangeRequestsAfterContentReview.js +3 -1
- package/plugins/hooks/deleteCommentsAfterChangeRequest.js +3 -1
- package/plugins/hooks/index.js +3 -1
- package/plugins/hooks/initializeContentReviewSteps.js +3 -1
- package/plugins/hooks/initializeNotifications.js +3 -1
- package/plugins/hooks/listContentReviews.js +3 -1
- package/plugins/hooks/notifications/appUrl.js +3 -1
- package/plugins/hooks/notifications/changeRequestAfterCreate.js +3 -1
- package/plugins/hooks/notifications/changeRequestUrl.js +3 -1
- package/plugins/hooks/notifications/commentAfterCreate.js +3 -1
- package/plugins/hooks/notifications/commentUrl.js +3 -1
- package/plugins/hooks/notifications/contentReviewAfterCreate.js +3 -1
- package/plugins/hooks/notifications/contentReviewUrl.js +3 -1
- package/plugins/hooks/notifications/contentUrl.js +3 -1
- package/plugins/hooks/notifications/lastChangeRequestNotificationPlugin.js +3 -1
- package/plugins/hooks/notifications/lastCommentNotificationPlugin.js +3 -1
- package/plugins/hooks/notifications/lastContentReviewNotificationPlugin.js +3 -1
- package/plugins/hooks/notifications/reviewers.js +3 -1
- package/plugins/hooks/notifications/sendChangeRequestNotification.js +3 -1
- package/plugins/hooks/notifications/sendCommentNotification.js +3 -1
- package/plugins/hooks/notifications/sendContentReviewNotification.js +3 -1
- package/plugins/hooks/updatePendingChangeRequests.js +3 -1
- package/plugins/hooks/updateTotalComments.js +3 -1
- package/plugins/hooks/validateChangeRequest.js +3 -1
- package/plugins/hooks/validateComment.js +3 -1
- package/plugins/hooks/validateContentReview.js +3 -1
- package/plugins/pageBuilder/PageApwSettingsGetterPlugin.js +3 -1
- package/plugins/pageBuilder/apwContentPagePlugins.js +3 -1
- package/plugins/pageBuilder/extendPbPageSettingsSchema.js +3 -1
- package/plugins/pageBuilder/index.js +3 -1
- package/plugins/pageBuilder/linkContentReviewToPage.js +3 -1
- package/plugins/pageBuilder/linkWorkflowToPage.js +3 -1
- package/plugins/pageBuilder/notifications/changeRequestNotification.js +3 -1
- package/plugins/pageBuilder/notifications/commentNotification.js +3 -1
- package/plugins/pageBuilder/notifications/contentReviewNotification.js +3 -1
- package/plugins/pageBuilder/notifications/contentUrl.js +3 -1
- package/plugins/pageBuilder/triggerContentReview.js +3 -1
- package/plugins/pageBuilder/updateContentReviewStatus.js +3 -1
- package/plugins/pageBuilder/utils.js +3 -1
- package/plugins/utils.js +3 -1
- package/scheduler/createScheduleActionMethods.js +3 -1
- package/scheduler/handlers/executeAction/index.js +3 -1
- package/scheduler/handlers/executeAction/plugins/ApplicationGraphQL.js +3 -1
- package/scheduler/handlers/executeAction/plugins/HeadlessCMSGraphQL.js +3 -1
- package/scheduler/handlers/executeAction/plugins/PageBuilderGraphQL.js +3 -1
- package/scheduler/handlers/executeAction/security.js +3 -1
- package/scheduler/handlers/scheduleAction/index.js +3 -1
- package/scheduler/handlers/scheduleAction/scheduleAction.utils.js +3 -1
- package/scheduler/handlers/utils.js +3 -1
- package/scheduler/index.js +3 -1
- package/scheduler/types.js +3 -1
- package/storageOperations/changeRequestStorageOperations.js +3 -1
- package/storageOperations/commentStorageOperations.js +3 -1
- package/storageOperations/contentReviewStorageOperations.js +3 -1
- package/storageOperations/index.js +3 -1
- package/storageOperations/models/changeRequest.model.js +3 -1
- package/storageOperations/models/comment.model.js +3 -1
- package/storageOperations/models/contentModelPluginFactory.js +3 -1
- package/storageOperations/models/contentReview.model.js +3 -1
- package/storageOperations/models/index.js +3 -1
- package/storageOperations/models/reviewer.model.js +3 -1
- package/storageOperations/models/utils.js +3 -1
- package/storageOperations/models/workflow.model.js +3 -1
- package/storageOperations/reviewerStorageOperations.js +3 -1
- package/storageOperations/types.js +3 -1
- package/storageOperations/workflowStorageOperations.js +3 -1
- package/types.js +3 -1
- package/utils/contentApwSettingsPlugin.js +3 -1
- package/utils/errors.js +3 -1
- package/utils/fieldResolver.js +3 -1
- package/utils/resolve.js +3 -1
@@ -27,4 +27,6 @@ exports.ApwChangeRequestNotification = ApwChangeRequestNotification;
|
|
27
27
|
const createApwChangeRequestNotification = (contentType, cb) => {
|
28
28
|
return new ApwChangeRequestNotification(contentType, cb);
|
29
29
|
};
|
30
|
-
exports.createApwChangeRequestNotification = createApwChangeRequestNotification;
|
30
|
+
exports.createApwChangeRequestNotification = createApwChangeRequestNotification;
|
31
|
+
|
32
|
+
//# sourceMappingURL=ApwChangeRequestNotification.js.map
|
@@ -27,4 +27,6 @@ exports.ApwCommentNotification = ApwCommentNotification;
|
|
27
27
|
const createApwCommentNotification = (contentType, cb) => {
|
28
28
|
return new ApwCommentNotification(contentType, cb);
|
29
29
|
};
|
30
|
-
exports.createApwCommentNotification = createApwCommentNotification;
|
30
|
+
exports.createApwCommentNotification = createApwCommentNotification;
|
31
|
+
|
32
|
+
//# sourceMappingURL=ApwCommentNotification.js.map
|
@@ -27,4 +27,6 @@ exports.ApwContentReviewNotification = ApwContentReviewNotification;
|
|
27
27
|
const createApwContentReviewNotification = (contentType, cb) => {
|
28
28
|
return new ApwContentReviewNotification(contentType, cb);
|
29
29
|
};
|
30
|
-
exports.createApwContentReviewNotification = createApwContentReviewNotification;
|
30
|
+
exports.createApwContentReviewNotification = createApwContentReviewNotification;
|
31
|
+
|
32
|
+
//# sourceMappingURL=ApwContentReviewNotification.js.map
|
package/ApwContentUrlPlugin.js
CHANGED
@@ -27,4 +27,6 @@ exports.ApwContentUrlPlugin = ApwContentUrlPlugin;
|
|
27
27
|
const createApwContentUrlPlugin = (contentType, cb) => {
|
28
28
|
return new ApwContentUrlPlugin(contentType, cb);
|
29
29
|
};
|
30
|
-
exports.createApwContentUrlPlugin = createApwContentUrlPlugin;
|
30
|
+
exports.createApwContentUrlPlugin = createApwContentUrlPlugin;
|
31
|
+
|
32
|
+
//# sourceMappingURL=ApwContentUrlPlugin.js.map
|
@@ -9,4 +9,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
9
9
|
var _Plugin = require("@webiny/plugins/Plugin");
|
10
10
|
class ContentApwSettingsPlugin extends _Plugin.Plugin {}
|
11
11
|
exports.ContentApwSettingsPlugin = ContentApwSettingsPlugin;
|
12
|
-
(0, _defineProperty2.default)(ContentApwSettingsPlugin, "type", "apw.contentApwSettings");
|
12
|
+
(0, _defineProperty2.default)(ContentApwSettingsPlugin, "type", "apw.contentApwSettings");
|
13
|
+
|
14
|
+
//# sourceMappingURL=ContentApwSettingsPlugin.js.map
|
package/crud/index.js
CHANGED
package/crud/utils.js
CHANGED
@@ -107,4 +107,6 @@ const filterContentReviewsByRequiresMyAttention = async params => {
|
|
107
107
|
totalCount: filteredItems.length
|
108
108
|
})];
|
109
109
|
};
|
110
|
-
exports.filterContentReviewsByRequiresMyAttention = filterContentReviewsByRequiresMyAttention;
|
110
|
+
exports.filterContentReviewsByRequiresMyAttention = filterContentReviewsByRequiresMyAttention;
|
111
|
+
|
112
|
+
//# sourceMappingURL=utils.js.map
|
package/index.js
CHANGED
@@ -21,4 +21,6 @@ exports.createApwPageBuilderContext = createApwPageBuilderContext;
|
|
21
21
|
const createApwGraphQL = () => {
|
22
22
|
return [(0, _graphql.default)()];
|
23
23
|
};
|
24
|
-
exports.createApwGraphQL = createApwGraphQL;
|
24
|
+
exports.createApwGraphQL = createApwGraphQL;
|
25
|
+
|
26
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@webiny/api-apw",
|
3
|
-
"version": "5.37.
|
3
|
+
"version": "5.37.3-beta.1",
|
4
4
|
"keywords": [
|
5
5
|
"apw:base"
|
6
6
|
],
|
@@ -17,26 +17,26 @@
|
|
17
17
|
"@aws-sdk/client-cloudwatch-events": "3.54.1",
|
18
18
|
"@babel/runtime": "7.22.6",
|
19
19
|
"@commodo/fields": "1.1.2-beta.20",
|
20
|
-
"@webiny/api": "5.37.
|
21
|
-
"@webiny/api-admin-settings": "5.37.
|
22
|
-
"@webiny/api-headless-cms": "5.37.
|
23
|
-
"@webiny/api-i18n": "5.37.
|
24
|
-
"@webiny/api-mailer": "5.37.
|
25
|
-
"@webiny/api-page-builder": "5.37.
|
26
|
-
"@webiny/api-security": "5.37.
|
27
|
-
"@webiny/api-tenancy": "5.37.
|
28
|
-
"@webiny/api-wcp": "5.37.
|
29
|
-
"@webiny/db-dynamodb": "5.37.
|
30
|
-
"@webiny/error": "5.37.
|
31
|
-
"@webiny/handler": "5.37.
|
32
|
-
"@webiny/handler-client": "5.37.
|
33
|
-
"@webiny/handler-db": "5.37.
|
34
|
-
"@webiny/handler-graphql": "5.37.
|
35
|
-
"@webiny/handler-logs": "5.37.
|
36
|
-
"@webiny/plugins": "5.37.
|
37
|
-
"@webiny/pubsub": "5.37.
|
38
|
-
"@webiny/utils": "5.37.
|
39
|
-
"@webiny/validation": "5.37.
|
20
|
+
"@webiny/api": "5.37.3-beta.1",
|
21
|
+
"@webiny/api-admin-settings": "5.37.3-beta.1",
|
22
|
+
"@webiny/api-headless-cms": "5.37.3-beta.1",
|
23
|
+
"@webiny/api-i18n": "5.37.3-beta.1",
|
24
|
+
"@webiny/api-mailer": "5.37.3-beta.1",
|
25
|
+
"@webiny/api-page-builder": "5.37.3-beta.1",
|
26
|
+
"@webiny/api-security": "5.37.3-beta.1",
|
27
|
+
"@webiny/api-tenancy": "5.37.3-beta.1",
|
28
|
+
"@webiny/api-wcp": "5.37.3-beta.1",
|
29
|
+
"@webiny/db-dynamodb": "5.37.3-beta.1",
|
30
|
+
"@webiny/error": "5.37.3-beta.1",
|
31
|
+
"@webiny/handler": "5.37.3-beta.1",
|
32
|
+
"@webiny/handler-client": "5.37.3-beta.1",
|
33
|
+
"@webiny/handler-db": "5.37.3-beta.1",
|
34
|
+
"@webiny/handler-graphql": "5.37.3-beta.1",
|
35
|
+
"@webiny/handler-logs": "5.37.3-beta.1",
|
36
|
+
"@webiny/plugins": "5.37.3-beta.1",
|
37
|
+
"@webiny/pubsub": "5.37.3-beta.1",
|
38
|
+
"@webiny/utils": "5.37.3-beta.1",
|
39
|
+
"@webiny/validation": "5.37.3-beta.1",
|
40
40
|
"dayjs": "1.11.7",
|
41
41
|
"lodash": "4.17.21"
|
42
42
|
},
|
@@ -44,10 +44,10 @@
|
|
44
44
|
"@babel/cli": "7.22.6",
|
45
45
|
"@babel/core": "7.22.8",
|
46
46
|
"@babel/preset-env": "7.22.7",
|
47
|
-
"@webiny/cli": "5.37.
|
48
|
-
"@webiny/handler-aws": "5.37.
|
49
|
-
"@webiny/project-utils": "5.37.
|
50
|
-
"@webiny/wcp": "5.37.
|
47
|
+
"@webiny/cli": "5.37.3-beta.1",
|
48
|
+
"@webiny/handler-aws": "5.37.3-beta.1",
|
49
|
+
"@webiny/project-utils": "5.37.3-beta.1",
|
50
|
+
"@webiny/wcp": "5.37.3-beta.1",
|
51
51
|
"get-yarn-workspaces": "1.0.2",
|
52
52
|
"graphql": "15.8.0",
|
53
53
|
"jest": "29.5.0",
|
@@ -65,5 +65,5 @@
|
|
65
65
|
"build": "yarn webiny run build",
|
66
66
|
"watch": "yarn webiny run watch"
|
67
67
|
},
|
68
|
-
"gitHead": "
|
68
|
+
"gitHead": "59d377132f34c76cb198cd0f0eee211a56ca25b7"
|
69
69
|
}
|
@@ -33,4 +33,6 @@ class CmsEntryApwSettingsGetterPlugin extends _ContentApwSettingsPlugin.ContentA
|
|
33
33
|
return ((_entry$meta$apw2 = entry.meta.apw) === null || _entry$meta$apw2 === void 0 ? void 0 : _entry$meta$apw2.contentReviewId) || null;
|
34
34
|
}
|
35
35
|
}
|
36
|
-
exports.CmsEntryApwSettingsGetterPlugin = CmsEntryApwSettingsGetterPlugin;
|
36
|
+
exports.CmsEntryApwSettingsGetterPlugin = CmsEntryApwSettingsGetterPlugin;
|
37
|
+
|
38
|
+
//# sourceMappingURL=CmsEntryApwSettingsGetterPlugin.js.map
|
package/plugins/cms/index.js
CHANGED
@@ -29,4 +29,6 @@ const apwCmsHooks = params => {
|
|
29
29
|
(0, _triggerContentReview.triggerContentReview)(params);
|
30
30
|
(0, _updateContentReviewStatus.updateContentReviewStatus)(params);
|
31
31
|
};
|
32
|
-
exports.apwCmsHooks = apwCmsHooks;
|
32
|
+
exports.apwCmsHooks = apwCmsHooks;
|
33
|
+
|
34
|
+
//# sourceMappingURL=index.js.map
|
@@ -28,4 +28,6 @@ const createChangeRequestNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createChangeRequestNotification = createChangeRequestNotification;
|
31
|
+
exports.createChangeRequestNotification = createChangeRequestNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=changeRequestNotification.js.map
|
@@ -28,4 +28,6 @@ const createCommentNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createCommentNotification = createCommentNotification;
|
31
|
+
exports.createCommentNotification = createCommentNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=commentNotification.js.map
|
@@ -28,4 +28,6 @@ const createContentReviewNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createContentReviewNotification = createContentReviewNotification;
|
31
|
+
exports.createContentReviewNotification = createContentReviewNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=contentReviewNotification.js.map
|
package/plugins/cms/utils.js
CHANGED
@@ -159,4 +159,6 @@ exports.hasEntries = hasEntries;
|
|
159
159
|
const isAwpModel = model => {
|
160
160
|
return [_changeRequest.CHANGE_REQUEST_MODEL_ID, _comment.COMMENT_MODEL_ID, _contentReview.CONTENT_REVIEW_MODEL_ID, _reviewer.REVIEWER_MODEL_ID, _workflow.WORKFLOW_MODEL_ID].includes(model.modelId);
|
161
161
|
};
|
162
|
-
exports.isAwpModel = isAwpModel;
|
162
|
+
exports.isAwpModel = isAwpModel;
|
163
|
+
|
164
|
+
//# sourceMappingURL=utils.js.map
|
package/plugins/context.js
CHANGED
@@ -98,4 +98,6 @@ const createApwPageBuilderContext = params => {
|
|
98
98
|
context.plugins.register((0, _extendPbPageSettingsSchema.extendPbPageSettingsSchema)());
|
99
99
|
});
|
100
100
|
};
|
101
|
-
exports.createApwPageBuilderContext = createApwPageBuilderContext;
|
101
|
+
exports.createApwPageBuilderContext = createApwPageBuilderContext;
|
102
|
+
|
103
|
+
//# sourceMappingURL=context.js.map
|
package/plugins/graphql.js
CHANGED
@@ -77,4 +77,6 @@ var _default = () => {
|
|
77
77
|
context.plugins.register([baseSchema, _workflow.default, _contentReview.default, _reviewer.default, _comment.default, _changeRequest.default]);
|
78
78
|
});
|
79
79
|
};
|
80
|
-
exports.default = _default;
|
80
|
+
exports.default = _default;
|
81
|
+
|
82
|
+
//# sourceMappingURL=graphql.js.map
|
@@ -56,4 +56,6 @@ const deleteChangeRequestsWithContentReview = ({
|
|
56
56
|
}
|
57
57
|
});
|
58
58
|
};
|
59
|
-
exports.deleteChangeRequestsWithContentReview = deleteChangeRequestsWithContentReview;
|
59
|
+
exports.deleteChangeRequestsWithContentReview = deleteChangeRequestsWithContentReview;
|
60
|
+
|
61
|
+
//# sourceMappingURL=deleteChangeRequestsAfterContentReview.js.map
|
@@ -49,4 +49,6 @@ const deleteCommentsAfterChangeRequest = ({
|
|
49
49
|
}
|
50
50
|
});
|
51
51
|
};
|
52
|
-
exports.deleteCommentsAfterChangeRequest = deleteCommentsAfterChangeRequest;
|
52
|
+
exports.deleteCommentsAfterChangeRequest = deleteCommentsAfterChangeRequest;
|
53
|
+
|
54
|
+
//# sourceMappingURL=deleteCommentsAfterChangeRequest.js.map
|
package/plugins/hooks/index.js
CHANGED
@@ -57,4 +57,6 @@ new _api.ContextPlugin(async context => {
|
|
57
57
|
(0, _listContentReviews.listContentReviews)(context);
|
58
58
|
(0, _initializeNotifications.initializeNotifications)(context);
|
59
59
|
});
|
60
|
-
exports.attachApwHooks = attachApwHooks;
|
60
|
+
exports.attachApwHooks = attachApwHooks;
|
61
|
+
|
62
|
+
//# sourceMappingURL=index.js.map
|
@@ -76,4 +76,6 @@ const initializeContentReviewSteps = ({
|
|
76
76
|
input = (0, _set.default)(input, "steps", updatedSteps);
|
77
77
|
});
|
78
78
|
};
|
79
|
-
exports.initializeContentReviewSteps = initializeContentReviewSteps;
|
79
|
+
exports.initializeContentReviewSteps = initializeContentReviewSteps;
|
80
|
+
|
81
|
+
//# sourceMappingURL=initializeContentReviewSteps.js.map
|
@@ -12,4 +12,6 @@ const initializeNotifications = context => {
|
|
12
12
|
(0, _commentAfterCreate.attachCommentAfterCreate)(context);
|
13
13
|
(0, _changeRequestAfterCreate.attachChangeRequestAfterCreate)(context);
|
14
14
|
};
|
15
|
-
exports.initializeNotifications = initializeNotifications;
|
15
|
+
exports.initializeNotifications = initializeNotifications;
|
16
|
+
|
17
|
+
//# sourceMappingURL=initializeNotifications.js.map
|
@@ -53,4 +53,6 @@ const listContentReviews = ({
|
|
53
53
|
where.workflowId_in = userWorkflows.map(workflow => workflow.id);
|
54
54
|
});
|
55
55
|
};
|
56
|
-
exports.listContentReviews = listContentReviews;
|
56
|
+
exports.listContentReviews = listContentReviews;
|
57
|
+
|
58
|
+
//# sourceMappingURL=listContentReviews.js.map
|
@@ -108,4 +108,6 @@ const attachChangeRequestAfterCreate = context => {
|
|
108
108
|
});
|
109
109
|
});
|
110
110
|
};
|
111
|
-
exports.attachChangeRequestAfterCreate = attachChangeRequestAfterCreate;
|
111
|
+
exports.attachChangeRequestAfterCreate = attachChangeRequestAfterCreate;
|
112
|
+
|
113
|
+
//# sourceMappingURL=changeRequestAfterCreate.js.map
|
@@ -24,4 +24,6 @@ const createChangeRequestUrl = params => {
|
|
24
24
|
} = params;
|
25
25
|
return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}/${changeRequestId}`;
|
26
26
|
};
|
27
|
-
exports.createChangeRequestUrl = createChangeRequestUrl;
|
27
|
+
exports.createChangeRequestUrl = createChangeRequestUrl;
|
28
|
+
|
29
|
+
//# sourceMappingURL=changeRequestUrl.js.map
|
@@ -24,4 +24,6 @@ const createCommentUrl = params => {
|
|
24
24
|
} = params;
|
25
25
|
return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}/${changeRequestId}`;
|
26
26
|
};
|
27
|
-
exports.createCommentUrl = createCommentUrl;
|
27
|
+
exports.createCommentUrl = createCommentUrl;
|
28
|
+
|
29
|
+
//# sourceMappingURL=commentUrl.js.map
|
@@ -91,4 +91,6 @@ const attachContentReviewAfterCreate = context => {
|
|
91
91
|
});
|
92
92
|
});
|
93
93
|
};
|
94
|
-
exports.attachContentReviewAfterCreate = attachContentReviewAfterCreate;
|
94
|
+
exports.attachContentReviewAfterCreate = attachContentReviewAfterCreate;
|
95
|
+
|
96
|
+
//# sourceMappingURL=contentReviewAfterCreate.js.map
|
@@ -23,4 +23,6 @@ const createContentReviewUrl = params => {
|
|
23
23
|
} = params;
|
24
24
|
return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}`;
|
25
25
|
};
|
26
|
-
exports.createContentReviewUrl = createContentReviewUrl;
|
26
|
+
exports.createContentReviewUrl = createContentReviewUrl;
|
27
|
+
|
28
|
+
//# sourceMappingURL=contentReviewUrl.js.map
|
@@ -18,4 +18,6 @@ const getLastChangeRequestNotificationPlugin = params => {
|
|
18
18
|
});
|
19
19
|
return plugins.shift();
|
20
20
|
};
|
21
|
-
exports.getLastChangeRequestNotificationPlugin = getLastChangeRequestNotificationPlugin;
|
21
|
+
exports.getLastChangeRequestNotificationPlugin = getLastChangeRequestNotificationPlugin;
|
22
|
+
|
23
|
+
//# sourceMappingURL=lastChangeRequestNotificationPlugin.js.map
|
@@ -18,4 +18,6 @@ const getLastCommentNotificationPlugin = params => {
|
|
18
18
|
});
|
19
19
|
return plugins.shift();
|
20
20
|
};
|
21
|
-
exports.getLastCommentNotificationPlugin = getLastCommentNotificationPlugin;
|
21
|
+
exports.getLastCommentNotificationPlugin = getLastCommentNotificationPlugin;
|
22
|
+
|
23
|
+
//# sourceMappingURL=lastCommentNotificationPlugin.js.map
|
@@ -18,4 +18,6 @@ const getLastContentReviewNotificationPlugin = params => {
|
|
18
18
|
});
|
19
19
|
return plugins.shift();
|
20
20
|
};
|
21
|
-
exports.getLastContentReviewNotificationPlugin = getLastContentReviewNotificationPlugin;
|
21
|
+
exports.getLastContentReviewNotificationPlugin = getLastContentReviewNotificationPlugin;
|
22
|
+
|
23
|
+
//# sourceMappingURL=lastContentReviewNotificationPlugin.js.map
|
@@ -38,4 +38,6 @@ const sendChangeRequestNotification = async params => {
|
|
38
38
|
}
|
39
39
|
console.log("Error while sending e-mail", JSON.stringify(result.error));
|
40
40
|
};
|
41
|
-
exports.sendChangeRequestNotification = sendChangeRequestNotification;
|
41
|
+
exports.sendChangeRequestNotification = sendChangeRequestNotification;
|
42
|
+
|
43
|
+
//# sourceMappingURL=sendChangeRequestNotification.js.map
|
@@ -38,4 +38,6 @@ const sendCommentNotification = async params => {
|
|
38
38
|
}
|
39
39
|
console.log("Error while sending e-mail", JSON.stringify(result.error));
|
40
40
|
};
|
41
|
-
exports.sendCommentNotification = sendCommentNotification;
|
41
|
+
exports.sendCommentNotification = sendCommentNotification;
|
42
|
+
|
43
|
+
//# sourceMappingURL=sendCommentNotification.js.map
|
@@ -38,4 +38,6 @@ const sendContentReviewNotification = async params => {
|
|
38
38
|
}
|
39
39
|
console.log("Error while sending e-mail", JSON.stringify(result.error));
|
40
40
|
};
|
41
|
-
exports.sendContentReviewNotification = sendContentReviewNotification;
|
41
|
+
exports.sendContentReviewNotification = sendContentReviewNotification;
|
42
|
+
|
43
|
+
//# sourceMappingURL=sendContentReviewNotification.js.map
|
@@ -83,4 +83,6 @@ const updatePendingChangeRequestsCount = ({
|
|
83
83
|
}
|
84
84
|
});
|
85
85
|
};
|
86
|
-
exports.updatePendingChangeRequestsCount = updatePendingChangeRequestsCount;
|
86
|
+
exports.updatePendingChangeRequestsCount = updatePendingChangeRequestsCount;
|
87
|
+
|
88
|
+
//# sourceMappingURL=updatePendingChangeRequests.js.map
|
@@ -33,4 +33,6 @@ class PageApwSettingsGetterPlugin extends _ContentApwSettingsPlugin.ContentApwSe
|
|
33
33
|
return (_page$settings$apw2 = page.settings.apw) === null || _page$settings$apw2 === void 0 ? void 0 : _page$settings$apw2.contentReviewId;
|
34
34
|
}
|
35
35
|
}
|
36
|
-
exports.PageApwSettingsGetterPlugin = PageApwSettingsGetterPlugin;
|
36
|
+
exports.PageApwSettingsGetterPlugin = PageApwSettingsGetterPlugin;
|
37
|
+
|
38
|
+
//# sourceMappingURL=PageApwSettingsGetterPlugin.js.map
|
@@ -23,4 +23,6 @@ const apwContentPagePlugins = () => new _api.ContextPlugin(async context => {
|
|
23
23
|
return true;
|
24
24
|
});
|
25
25
|
});
|
26
|
-
exports.apwContentPagePlugins = apwContentPagePlugins;
|
26
|
+
exports.apwContentPagePlugins = apwContentPagePlugins;
|
27
|
+
|
28
|
+
//# sourceMappingURL=apwContentPagePlugins.js.map
|
@@ -17,4 +17,6 @@ const extendPbPageSettingsSchema = () => new _plugins.GraphQLSchemaPlugin({
|
|
17
17
|
}
|
18
18
|
`
|
19
19
|
});
|
20
|
-
exports.extendPbPageSettingsSchema = extendPbPageSettingsSchema;
|
20
|
+
exports.extendPbPageSettingsSchema = extendPbPageSettingsSchema;
|
21
|
+
|
22
|
+
//# sourceMappingURL=extendPbPageSettingsSchema.js.map
|
@@ -28,4 +28,6 @@ const createChangeRequestNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.PAGE}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createChangeRequestNotification = createChangeRequestNotification;
|
31
|
+
exports.createChangeRequestNotification = createChangeRequestNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=changeRequestNotification.js.map
|
@@ -28,4 +28,6 @@ const createCommentNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.PAGE}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createCommentNotification = createCommentNotification;
|
31
|
+
exports.createCommentNotification = createCommentNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=commentNotification.js.map
|
@@ -28,4 +28,6 @@ const createContentReviewNotification = () => {
|
|
28
28
|
plugin.name = `${plugin.type}.${_types.ApwContentTypes.PAGE}.default`;
|
29
29
|
return plugin;
|
30
30
|
};
|
31
|
-
exports.createContentReviewNotification = createContentReviewNotification;
|
31
|
+
exports.createContentReviewNotification = createContentReviewNotification;
|
32
|
+
|
33
|
+
//# sourceMappingURL=contentReviewNotification.js.map
|
package/plugins/utils.js
CHANGED
@@ -141,4 +141,6 @@ const workflowByCreatedOnDesc = (a, b) => {
|
|
141
141
|
*/
|
142
142
|
return new Date(createdOnB).getTime() - new Date(createdOnA).getTime();
|
143
143
|
};
|
144
|
-
exports.workflowByCreatedOnDesc = workflowByCreatedOnDesc;
|
144
|
+
exports.workflowByCreatedOnDesc = workflowByCreatedOnDesc;
|
145
|
+
|
146
|
+
//# sourceMappingURL=utils.js.map
|
@@ -175,4 +175,6 @@ const createExecuteActionLambda = params => {
|
|
175
175
|
const executeActionHandlerPlugins = config => [new _api.ContextPlugin(async context => {
|
176
176
|
context.plugins.register([new _PageBuilderGraphQL.PageBuilderGraphQL(), new _HeadlessCMSGraphQL.HeadlessCMSGraphQL()]);
|
177
177
|
}), (0, _utils.basePlugins)(), createExecuteActionLambda(config)];
|
178
|
-
exports.executeActionHandlerPlugins = executeActionHandlerPlugins;
|
178
|
+
exports.executeActionHandlerPlugins = executeActionHandlerPlugins;
|
179
|
+
|
180
|
+
//# sourceMappingURL=index.js.map
|
@@ -23,4 +23,6 @@ var _types = require("../../../types");
|
|
23
23
|
var _utils = require("../../utils");
|
24
24
|
class ApplicationGraphQL extends _Plugin.Plugin {}
|
25
25
|
exports.ApplicationGraphQL = ApplicationGraphQL;
|
26
|
-
(0, _defineProperty2.default)(ApplicationGraphQL, "type", "apw.scheduler.applicationGraphQL");
|
26
|
+
(0, _defineProperty2.default)(ApplicationGraphQL, "type", "apw.scheduler.applicationGraphQL");
|
27
|
+
|
28
|
+
//# sourceMappingURL=ApplicationGraphQL.js.map
|
@@ -145,4 +145,6 @@ const createScheduleActionLambda = params => {
|
|
145
145
|
};
|
146
146
|
|
147
147
|
const scheduleActionHandlerPlugins = config => [(0, _utils.basePlugins)(), createScheduleActionLambda(config)];
|
148
|
-
exports.scheduleActionHandlerPlugins = scheduleActionHandlerPlugins;
|
148
|
+
exports.scheduleActionHandlerPlugins = scheduleActionHandlerPlugins;
|
149
|
+
|
150
|
+
//# sourceMappingURL=index.js.map
|
package/scheduler/index.js
CHANGED
package/scheduler/types.js
CHANGED
@@ -20,4 +20,6 @@ let InvocationTypes = /*#__PURE__*/function (InvocationTypes) {
|
|
20
20
|
InvocationTypes["SCHEDULED"] = "scheduled";
|
21
21
|
return InvocationTypes;
|
22
22
|
}({});
|
23
|
-
exports.InvocationTypes = InvocationTypes;
|
23
|
+
exports.InvocationTypes = InvocationTypes;
|
24
|
+
|
25
|
+
//# sourceMappingURL=types.js.map
|
@@ -100,4 +100,6 @@ const createChangeRequestStorageOperations = params => {
|
|
100
100
|
}
|
101
101
|
};
|
102
102
|
};
|
103
|
-
exports.createChangeRequestStorageOperations = createChangeRequestStorageOperations;
|
103
|
+
exports.createChangeRequestStorageOperations = createChangeRequestStorageOperations;
|
104
|
+
|
105
|
+
//# sourceMappingURL=changeRequestStorageOperations.js.map
|
@@ -114,4 +114,6 @@ const createCommentStorageOperations = ({
|
|
114
114
|
}
|
115
115
|
};
|
116
116
|
};
|
117
|
-
exports.createCommentStorageOperations = createCommentStorageOperations;
|
117
|
+
exports.createCommentStorageOperations = createCommentStorageOperations;
|
118
|
+
|
119
|
+
//# sourceMappingURL=commentStorageOperations.js.map
|
@@ -73,4 +73,6 @@ const createContentReviewStorageOperations = ({
|
|
73
73
|
}
|
74
74
|
};
|
75
75
|
};
|
76
|
-
exports.createContentReviewStorageOperations = createContentReviewStorageOperations;
|
76
|
+
exports.createContentReviewStorageOperations = createContentReviewStorageOperations;
|
77
|
+
|
78
|
+
//# sourceMappingURL=contentReviewStorageOperations.js.map
|
@@ -31,4 +31,6 @@ const createStorageOperations = params => {
|
|
31
31
|
(0, _models.createApwModels)(context);
|
32
32
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, (0, _reviewerStorageOperations.createReviewerStorageOperations)(params)), (0, _workflowStorageOperations.createWorkflowStorageOperations)(params)), (0, _contentReviewStorageOperations.createContentReviewStorageOperations)(params)), (0, _changeRequestStorageOperations.createChangeRequestStorageOperations)(params)), (0, _commentStorageOperations.createCommentStorageOperations)(params));
|
33
33
|
};
|
34
|
-
exports.createStorageOperations = createStorageOperations;
|
34
|
+
exports.createStorageOperations = createStorageOperations;
|
35
|
+
|
36
|
+
//# sourceMappingURL=index.js.map
|
@@ -47,4 +47,6 @@ const createChangeRequestModelDefinition = () => {
|
|
47
47
|
isPrivate: true
|
48
48
|
};
|
49
49
|
};
|
50
|
-
exports.createChangeRequestModelDefinition = createChangeRequestModelDefinition;
|
50
|
+
exports.createChangeRequestModelDefinition = createChangeRequestModelDefinition;
|
51
|
+
|
52
|
+
//# sourceMappingURL=changeRequest.model.js.map
|
@@ -17,4 +17,6 @@ const contentModelPluginFactory = params => {
|
|
17
17
|
noValidate: true
|
18
18
|
}));
|
19
19
|
};
|
20
|
-
exports.contentModelPluginFactory = contentModelPluginFactory;
|
20
|
+
exports.contentModelPluginFactory = contentModelPluginFactory;
|
21
|
+
|
22
|
+
//# sourceMappingURL=contentModelPluginFactory.js.map
|
@@ -229,4 +229,6 @@ const createContentReviewModelDefinition = ({
|
|
229
229
|
description: "",
|
230
230
|
isPrivate: true
|
231
231
|
});
|
232
|
-
exports.createContentReviewModelDefinition = createContentReviewModelDefinition;
|
232
|
+
exports.createContentReviewModelDefinition = createContentReviewModelDefinition;
|
233
|
+
|
234
|
+
//# sourceMappingURL=contentReview.model.js.map
|
@@ -60,4 +60,6 @@ const createReviewerModelDefinition = () => {
|
|
60
60
|
isPrivate: true
|
61
61
|
};
|
62
62
|
};
|
63
|
-
exports.createReviewerModelDefinition = createReviewerModelDefinition;
|
63
|
+
exports.createReviewerModelDefinition = createReviewerModelDefinition;
|
64
|
+
|
65
|
+
//# sourceMappingURL=reviewer.model.js.map
|
@@ -182,4 +182,6 @@ const createWorkflowModelDefinition = ({
|
|
182
182
|
fields: [titleField(), stepsField([stepTitleField(), stepTypeField(), stepIdField(), stepReviewersField(reviewerModelId)]), scopeField([scopeTypeField(), scopeDataField([scopeDataPbCategories(), scopeDataPbPages(), scopeDataCmsModels(), scopeDataCmsEntries()])]), applicationField()],
|
183
183
|
isPrivate: true
|
184
184
|
});
|
185
|
-
exports.createWorkflowModelDefinition = createWorkflowModelDefinition;
|
185
|
+
exports.createWorkflowModelDefinition = createWorkflowModelDefinition;
|
186
|
+
|
187
|
+
//# sourceMappingURL=workflow.model.js.map
|
@@ -72,4 +72,6 @@ const createReviewerStorageOperations = ({
|
|
72
72
|
}
|
73
73
|
};
|
74
74
|
};
|
75
|
-
exports.createReviewerStorageOperations = createReviewerStorageOperations;
|
75
|
+
exports.createReviewerStorageOperations = createReviewerStorageOperations;
|
76
|
+
|
77
|
+
//# sourceMappingURL=reviewerStorageOperations.js.map
|
@@ -89,4 +89,6 @@ const createWorkflowStorageOperations = params => {
|
|
89
89
|
}
|
90
90
|
};
|
91
91
|
};
|
92
|
-
exports.createWorkflowStorageOperations = createWorkflowStorageOperations;
|
92
|
+
exports.createWorkflowStorageOperations = createWorkflowStorageOperations;
|
93
|
+
|
94
|
+
//# sourceMappingURL=workflowStorageOperations.js.map
|
package/types.js
CHANGED
@@ -17,4 +17,6 @@ const getContentApwSettingsPlugin = params => {
|
|
17
17
|
}
|
18
18
|
throw new _handlerGraphql.NotFoundError(`Could not find a "ContentApwSettingsPlugin" for "${type}".`);
|
19
19
|
};
|
20
|
-
exports.getContentApwSettingsPlugin = getContentApwSettingsPlugin;
|
20
|
+
exports.getContentApwSettingsPlugin = getContentApwSettingsPlugin;
|
21
|
+
|
22
|
+
//# sourceMappingURL=contentApwSettingsPlugin.js.map
|
package/utils/errors.js
CHANGED
package/utils/fieldResolver.js
CHANGED
@@ -41,4 +41,6 @@ const getTransformer = (model, fieldId) => ({
|
|
41
41
|
model: model,
|
42
42
|
field: model.fields.find(field => field.fieldId === fieldId)
|
43
43
|
});
|
44
|
-
exports.getTransformer = getTransformer;
|
44
|
+
exports.getTransformer = getTransformer;
|
45
|
+
|
46
|
+
//# sourceMappingURL=fieldResolver.js.map
|