@webiny/api-apw 5.37.5 → 5.37.6-beta.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.
Files changed (110) hide show
  1. package/ApwChangeRequestNotification.js +1 -3
  2. package/ApwCommentNotification.js +1 -3
  3. package/ApwContentReviewNotification.js +1 -3
  4. package/ApwContentUrlPlugin.js +1 -3
  5. package/ContentApwSettingsPlugin.js +1 -3
  6. package/crud/createChangeRequestMethods.js +1 -3
  7. package/crud/createCommentMethods.js +1 -3
  8. package/crud/createContentReviewMethods.js +1 -3
  9. package/crud/createReviewerMethods.js +1 -3
  10. package/crud/createWorkflowMethods.js +1 -3
  11. package/crud/index.js +1 -3
  12. package/crud/utils.js +1 -3
  13. package/index.d.ts +1 -1
  14. package/index.js +1 -3
  15. package/package.json +26 -26
  16. package/plugins/cms/CmsEntryApwSettingsGetterPlugin.js +1 -3
  17. package/plugins/cms/apwEntryPlugins.js +1 -3
  18. package/plugins/cms/index.js +1 -3
  19. package/plugins/cms/linkContentReviewToEntry.js +1 -3
  20. package/plugins/cms/linkWorkflowToEntry.js +1 -3
  21. package/plugins/cms/notifications/changeRequestNotification.js +1 -3
  22. package/plugins/cms/notifications/commentNotification.js +1 -3
  23. package/plugins/cms/notifications/contentReviewNotification.js +1 -3
  24. package/plugins/cms/notifications/contentUrl.js +1 -3
  25. package/plugins/cms/triggerContentReview.js +1 -3
  26. package/plugins/cms/updateContentReviewStatus.js +1 -3
  27. package/plugins/cms/utils.js +1 -3
  28. package/plugins/context.js +1 -3
  29. package/plugins/graphql/changeRequest.gql.js +1 -3
  30. package/plugins/graphql/comment.gql.js +1 -3
  31. package/plugins/graphql/contentReview.gql.js +1 -3
  32. package/plugins/graphql/reviewer.gql.js +1 -3
  33. package/plugins/graphql/workflow.gql.js +1 -3
  34. package/plugins/graphql.js +1 -3
  35. package/plugins/hooks/createReviewerFromIdentity.js +1 -3
  36. package/plugins/hooks/deleteChangeRequestsAfterContentReview.js +1 -3
  37. package/plugins/hooks/deleteCommentsAfterChangeRequest.js +1 -3
  38. package/plugins/hooks/index.js +1 -3
  39. package/plugins/hooks/initializeContentReviewSteps.js +1 -3
  40. package/plugins/hooks/initializeNotifications.js +1 -3
  41. package/plugins/hooks/listContentReviews.js +1 -3
  42. package/plugins/hooks/notifications/appUrl.js +1 -3
  43. package/plugins/hooks/notifications/changeRequestAfterCreate.js +1 -3
  44. package/plugins/hooks/notifications/changeRequestUrl.js +1 -3
  45. package/plugins/hooks/notifications/commentAfterCreate.js +1 -3
  46. package/plugins/hooks/notifications/commentUrl.js +1 -3
  47. package/plugins/hooks/notifications/contentReviewAfterCreate.js +1 -3
  48. package/plugins/hooks/notifications/contentReviewUrl.js +1 -3
  49. package/plugins/hooks/notifications/contentUrl.js +1 -3
  50. package/plugins/hooks/notifications/lastChangeRequestNotificationPlugin.js +1 -3
  51. package/plugins/hooks/notifications/lastCommentNotificationPlugin.js +1 -3
  52. package/plugins/hooks/notifications/lastContentReviewNotificationPlugin.js +1 -3
  53. package/plugins/hooks/notifications/reviewers.js +1 -3
  54. package/plugins/hooks/notifications/sendChangeRequestNotification.js +1 -3
  55. package/plugins/hooks/notifications/sendCommentNotification.js +1 -3
  56. package/plugins/hooks/notifications/sendContentReviewNotification.js +1 -3
  57. package/plugins/hooks/updatePendingChangeRequests.js +1 -3
  58. package/plugins/hooks/updateTotalComments.js +1 -3
  59. package/plugins/hooks/validateChangeRequest.js +1 -3
  60. package/plugins/hooks/validateComment.js +1 -3
  61. package/plugins/hooks/validateContentReview.js +1 -3
  62. package/plugins/pageBuilder/PageApwSettingsGetterPlugin.js +1 -3
  63. package/plugins/pageBuilder/apwContentPagePlugins.js +1 -3
  64. package/plugins/pageBuilder/extendPbPageSettingsSchema.js +1 -3
  65. package/plugins/pageBuilder/index.js +1 -3
  66. package/plugins/pageBuilder/linkContentReviewToPage.js +1 -3
  67. package/plugins/pageBuilder/linkWorkflowToPage.js +1 -3
  68. package/plugins/pageBuilder/notifications/changeRequestNotification.js +1 -3
  69. package/plugins/pageBuilder/notifications/commentNotification.js +1 -3
  70. package/plugins/pageBuilder/notifications/contentReviewNotification.js +1 -3
  71. package/plugins/pageBuilder/notifications/contentUrl.js +1 -3
  72. package/plugins/pageBuilder/triggerContentReview.js +1 -3
  73. package/plugins/pageBuilder/updateContentReviewStatus.js +1 -3
  74. package/plugins/pageBuilder/utils.js +1 -3
  75. package/plugins/utils.js +1 -3
  76. package/scheduler/createScheduleActionMethods.js +1 -3
  77. package/scheduler/handlers/executeAction/index.d.ts +1 -1
  78. package/scheduler/handlers/executeAction/index.js +1 -3
  79. package/scheduler/handlers/executeAction/plugins/ApplicationGraphQL.js +1 -3
  80. package/scheduler/handlers/executeAction/plugins/HeadlessCMSGraphQL.js +1 -3
  81. package/scheduler/handlers/executeAction/plugins/PageBuilderGraphQL.js +1 -3
  82. package/scheduler/handlers/executeAction/security.js +1 -3
  83. package/scheduler/handlers/scheduleAction/index.d.ts +1 -1
  84. package/scheduler/handlers/scheduleAction/index.js +1 -3
  85. package/scheduler/handlers/scheduleAction/scheduleAction.utils.js +1 -3
  86. package/scheduler/handlers/utils.d.ts +1 -1
  87. package/scheduler/handlers/utils.js +1 -3
  88. package/scheduler/index.js +1 -3
  89. package/scheduler/types.js +1 -3
  90. package/storageOperations/changeRequestStorageOperations.js +1 -3
  91. package/storageOperations/commentStorageOperations.js +1 -3
  92. package/storageOperations/contentReviewStorageOperations.js +1 -3
  93. package/storageOperations/index.js +1 -3
  94. package/storageOperations/models/changeRequest.model.js +1 -3
  95. package/storageOperations/models/comment.model.js +1 -3
  96. package/storageOperations/models/contentModelPluginFactory.js +1 -3
  97. package/storageOperations/models/contentReview.model.js +1 -3
  98. package/storageOperations/models/index.js +1 -3
  99. package/storageOperations/models/reviewer.model.js +1 -3
  100. package/storageOperations/models/utils.js +1 -3
  101. package/storageOperations/models/workflow.model.js +1 -3
  102. package/storageOperations/reviewerStorageOperations.js +1 -3
  103. package/storageOperations/types.js +1 -3
  104. package/storageOperations/workflowStorageOperations.js +1 -3
  105. package/types.js +1 -3
  106. package/utils/contentApwSettingsPlugin.js +1 -3
  107. package/utils/errors.js +1 -3
  108. package/utils/fieldResolver.js +1 -3
  109. package/utils/resolve.d.ts +1 -1
  110. package/utils/resolve.js +1 -3
@@ -27,6 +27,4 @@ exports.ApwChangeRequestNotification = ApwChangeRequestNotification;
27
27
  const createApwChangeRequestNotification = (contentType, cb) => {
28
28
  return new ApwChangeRequestNotification(contentType, cb);
29
29
  };
30
- exports.createApwChangeRequestNotification = createApwChangeRequestNotification;
31
-
32
- //# sourceMappingURL=ApwChangeRequestNotification.js.map
30
+ exports.createApwChangeRequestNotification = createApwChangeRequestNotification;
@@ -27,6 +27,4 @@ exports.ApwCommentNotification = ApwCommentNotification;
27
27
  const createApwCommentNotification = (contentType, cb) => {
28
28
  return new ApwCommentNotification(contentType, cb);
29
29
  };
30
- exports.createApwCommentNotification = createApwCommentNotification;
31
-
32
- //# sourceMappingURL=ApwCommentNotification.js.map
30
+ exports.createApwCommentNotification = createApwCommentNotification;
@@ -27,6 +27,4 @@ exports.ApwContentReviewNotification = ApwContentReviewNotification;
27
27
  const createApwContentReviewNotification = (contentType, cb) => {
28
28
  return new ApwContentReviewNotification(contentType, cb);
29
29
  };
30
- exports.createApwContentReviewNotification = createApwContentReviewNotification;
31
-
32
- //# sourceMappingURL=ApwContentReviewNotification.js.map
30
+ exports.createApwContentReviewNotification = createApwContentReviewNotification;
@@ -27,6 +27,4 @@ exports.ApwContentUrlPlugin = ApwContentUrlPlugin;
27
27
  const createApwContentUrlPlugin = (contentType, cb) => {
28
28
  return new ApwContentUrlPlugin(contentType, cb);
29
29
  };
30
- exports.createApwContentUrlPlugin = createApwContentUrlPlugin;
31
-
32
- //# sourceMappingURL=ApwContentUrlPlugin.js.map
30
+ exports.createApwContentUrlPlugin = createApwContentUrlPlugin;
@@ -9,6 +9,4 @@ 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");
13
-
14
- //# sourceMappingURL=ContentApwSettingsPlugin.js.map
12
+ (0, _defineProperty2.default)(ContentApwSettingsPlugin, "type", "apw.contentApwSettings");
@@ -88,6 +88,4 @@ function createChangeRequestMethods({
88
88
  onChangeRequestBeforeDelete,
89
89
  onChangeRequestAfterDelete
90
90
  };
91
- }
92
-
93
- //# sourceMappingURL=createChangeRequestMethods.js.map
91
+ }
@@ -88,6 +88,4 @@ function createCommentMethods({
88
88
  return true;
89
89
  }
90
90
  };
91
- }
92
-
93
- //# sourceMappingURL=createCommentMethods.js.map
91
+ }
@@ -510,6 +510,4 @@ function createContentReviewMethods(params) {
510
510
  return true;
511
511
  }
512
512
  };
513
- }
514
-
515
- //# sourceMappingURL=createContentReviewMethods.js.map
513
+ }
@@ -88,6 +88,4 @@ function createReviewerMethods({
88
88
  return true;
89
89
  }
90
90
  };
91
- }
92
-
93
- //# sourceMappingURL=createReviewerMethods.js.map
91
+ }
@@ -102,6 +102,4 @@ function createWorkflowMethods({
102
102
  return true;
103
103
  }
104
104
  };
105
- }
106
-
107
- //# sourceMappingURL=createWorkflowMethods.js.map
105
+ }
package/crud/index.js CHANGED
@@ -68,6 +68,4 @@ const createApw = params => {
68
68
  scheduleAction: params.scheduler
69
69
  };
70
70
  };
71
- exports.createApw = createApw;
72
-
73
- //# sourceMappingURL=index.js.map
71
+ exports.createApw = createApw;
package/crud/utils.js CHANGED
@@ -107,6 +107,4 @@ const filterContentReviewsByRequiresMyAttention = async params => {
107
107
  totalCount: filteredItems.length
108
108
  })];
109
109
  };
110
- exports.filterContentReviewsByRequiresMyAttention = filterContentReviewsByRequiresMyAttention;
111
-
112
- //# sourceMappingURL=utils.js.map
110
+ exports.filterContentReviewsByRequiresMyAttention = filterContentReviewsByRequiresMyAttention;
package/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { CreateApwContextParams } from "./scheduler/types";
2
- export declare const createApwPageBuilderContext: (params: CreateApwContextParams) => (import("@webiny/plugins/types").Plugin<Record<string, any>> | import("@webiny/plugins/types").PluginCollection | import("@webiny/api").ContextPlugin<import("./types").ApwContext> | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("@webiny/api-mailer/types").MailerContext>)[];
2
+ export declare const createApwPageBuilderContext: (params: CreateApwContextParams) => (import("@webiny/api").ContextPlugin<import("./types").ApwContext> | import("@webiny/plugins/types").Plugin<Record<string, any>> | import("@webiny/plugins/types").PluginCollection | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("@webiny/api-mailer/types").MailerContext>)[];
3
3
  export declare const createApwGraphQL: () => import("@webiny/api").ContextPlugin<import("./types").ApwContext>[];
package/index.js CHANGED
@@ -21,6 +21,4 @@ exports.createApwPageBuilderContext = createApwPageBuilderContext;
21
21
  const createApwGraphQL = () => {
22
22
  return [(0, _graphql.default)()];
23
23
  };
24
- exports.createApwGraphQL = createApwGraphQL;
25
-
26
- //# sourceMappingURL=index.js.map
24
+ exports.createApwGraphQL = createApwGraphQL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-apw",
3
- "version": "5.37.5",
3
+ "version": "5.37.6-beta.0",
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.5",
21
- "@webiny/api-admin-settings": "5.37.5",
22
- "@webiny/api-headless-cms": "5.37.5",
23
- "@webiny/api-i18n": "5.37.5",
24
- "@webiny/api-mailer": "5.37.5",
25
- "@webiny/api-page-builder": "5.37.5",
26
- "@webiny/api-security": "5.37.5",
27
- "@webiny/api-tenancy": "5.37.5",
28
- "@webiny/api-wcp": "5.37.5",
29
- "@webiny/db-dynamodb": "5.37.5",
30
- "@webiny/error": "5.37.5",
31
- "@webiny/handler": "5.37.5",
32
- "@webiny/handler-client": "5.37.5",
33
- "@webiny/handler-db": "5.37.5",
34
- "@webiny/handler-graphql": "5.37.5",
35
- "@webiny/handler-logs": "5.37.5",
36
- "@webiny/plugins": "5.37.5",
37
- "@webiny/pubsub": "5.37.5",
38
- "@webiny/utils": "5.37.5",
39
- "@webiny/validation": "5.37.5",
20
+ "@webiny/api": "5.37.6-beta.0",
21
+ "@webiny/api-admin-settings": "5.37.6-beta.0",
22
+ "@webiny/api-headless-cms": "5.37.6-beta.0",
23
+ "@webiny/api-i18n": "5.37.6-beta.0",
24
+ "@webiny/api-mailer": "5.37.6-beta.0",
25
+ "@webiny/api-page-builder": "5.37.6-beta.0",
26
+ "@webiny/api-security": "5.37.6-beta.0",
27
+ "@webiny/api-tenancy": "5.37.6-beta.0",
28
+ "@webiny/api-wcp": "5.37.6-beta.0",
29
+ "@webiny/db-dynamodb": "5.37.6-beta.0",
30
+ "@webiny/error": "5.37.6-beta.0",
31
+ "@webiny/handler": "5.37.6-beta.0",
32
+ "@webiny/handler-client": "5.37.6-beta.0",
33
+ "@webiny/handler-db": "5.37.6-beta.0",
34
+ "@webiny/handler-graphql": "5.37.6-beta.0",
35
+ "@webiny/handler-logs": "5.37.6-beta.0",
36
+ "@webiny/plugins": "5.37.6-beta.0",
37
+ "@webiny/pubsub": "5.37.6-beta.0",
38
+ "@webiny/utils": "5.37.6-beta.0",
39
+ "@webiny/validation": "5.37.6-beta.0",
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.5",
48
- "@webiny/handler-aws": "5.37.5",
49
- "@webiny/project-utils": "5.37.5",
50
- "@webiny/wcp": "5.37.5",
47
+ "@webiny/cli": "5.37.6-beta.0",
48
+ "@webiny/handler-aws": "5.37.6-beta.0",
49
+ "@webiny/project-utils": "5.37.6-beta.0",
50
+ "@webiny/wcp": "5.37.6-beta.0",
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": "88829ab0c5d875491d6b260f184b7b7fe3a6d449"
68
+ "gitHead": "5aec35310842da122e7c78bb47ab4fd4c353d106"
69
69
  }
@@ -33,6 +33,4 @@ 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;
37
-
38
- //# sourceMappingURL=CmsEntryApwSettingsGetterPlugin.js.map
36
+ exports.CmsEntryApwSettingsGetterPlugin = CmsEntryApwSettingsGetterPlugin;
@@ -35,6 +35,4 @@ const apwEntryPlugins = params => {
35
35
  return true;
36
36
  });
37
37
  };
38
- exports.apwEntryPlugins = apwEntryPlugins;
39
-
40
- //# sourceMappingURL=apwEntryPlugins.js.map
38
+ exports.apwEntryPlugins = apwEntryPlugins;
@@ -29,6 +29,4 @@ const apwCmsHooks = params => {
29
29
  (0, _triggerContentReview.triggerContentReview)(params);
30
30
  (0, _updateContentReviewStatus.updateContentReviewStatus)(params);
31
31
  };
32
- exports.apwCmsHooks = apwCmsHooks;
33
-
34
- //# sourceMappingURL=index.js.map
32
+ exports.apwCmsHooks = apwCmsHooks;
@@ -88,6 +88,4 @@ const linkContentReviewToEntry = params => {
88
88
  });
89
89
  });
90
90
  };
91
- exports.linkContentReviewToEntry = linkContentReviewToEntry;
92
-
93
- //# sourceMappingURL=linkContentReviewToEntry.js.map
91
+ exports.linkContentReviewToEntry = linkContentReviewToEntry;
@@ -134,6 +134,4 @@ const linkWorkflowToEntry = params => {
134
134
  }
135
135
  });
136
136
  };
137
- exports.linkWorkflowToEntry = linkWorkflowToEntry;
138
-
139
- //# sourceMappingURL=linkWorkflowToEntry.js.map
137
+ exports.linkWorkflowToEntry = linkWorkflowToEntry;
@@ -28,6 +28,4 @@ const createChangeRequestNotification = () => {
28
28
  plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
29
29
  return plugin;
30
30
  };
31
- exports.createChangeRequestNotification = createChangeRequestNotification;
32
-
33
- //# sourceMappingURL=changeRequestNotification.js.map
31
+ exports.createChangeRequestNotification = createChangeRequestNotification;
@@ -28,6 +28,4 @@ const createCommentNotification = () => {
28
28
  plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
29
29
  return plugin;
30
30
  };
31
- exports.createCommentNotification = createCommentNotification;
32
-
33
- //# sourceMappingURL=commentNotification.js.map
31
+ exports.createCommentNotification = createCommentNotification;
@@ -28,6 +28,4 @@ const createContentReviewNotification = () => {
28
28
  plugin.name = `${plugin.type}.${_types.ApwContentTypes.CMS_ENTRY}.default`;
29
29
  return plugin;
30
30
  };
31
- exports.createContentReviewNotification = createContentReviewNotification;
32
-
33
- //# sourceMappingURL=contentReviewNotification.js.map
31
+ exports.createContentReviewNotification = createContentReviewNotification;
@@ -50,6 +50,4 @@ const createContentUrlPlugin = () => {
50
50
  });
51
51
  });
52
52
  };
53
- exports.createContentUrlPlugin = createContentUrlPlugin;
54
-
55
- //# sourceMappingURL=contentUrl.js.map
53
+ exports.createContentUrlPlugin = createContentUrlPlugin;
@@ -42,6 +42,4 @@ const triggerContentReview = params => {
42
42
  });
43
43
  });
44
44
  };
45
- exports.triggerContentReview = triggerContentReview;
46
-
47
- //# sourceMappingURL=triggerContentReview.js.map
45
+ exports.triggerContentReview = triggerContentReview;
@@ -76,6 +76,4 @@ const updateContentReviewStatus = params => {
76
76
  });
77
77
  });
78
78
  };
79
- exports.updateContentReviewStatus = updateContentReviewStatus;
80
-
81
- //# sourceMappingURL=updateContentReviewStatus.js.map
79
+ exports.updateContentReviewStatus = updateContentReviewStatus;
@@ -159,6 +159,4 @@ 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;
163
-
164
- //# sourceMappingURL=utils.js.map
162
+ exports.isAwpModel = isAwpModel;
@@ -98,6 +98,4 @@ const createApwPageBuilderContext = params => {
98
98
  context.plugins.register((0, _extendPbPageSettingsSchema.extendPbPageSettingsSchema)());
99
99
  });
100
100
  };
101
- exports.createApwPageBuilderContext = createApwPageBuilderContext;
102
-
103
- //# sourceMappingURL=context.js.map
101
+ exports.createApwPageBuilderContext = createApwPageBuilderContext;
@@ -145,6 +145,4 @@ const workflowSchema = new _plugins.GraphQLSchemaPlugin({
145
145
  }
146
146
  });
147
147
  var _default = workflowSchema;
148
- exports.default = _default;
149
-
150
- //# sourceMappingURL=changeRequest.gql.js.map
148
+ exports.default = _default;
@@ -150,6 +150,4 @@ const workflowSchema = new _plugins.GraphQLSchemaPlugin({
150
150
  }
151
151
  });
152
152
  var _default = workflowSchema;
153
- exports.default = _default;
154
-
155
- //# sourceMappingURL=comment.gql.js.map
153
+ exports.default = _default;
@@ -360,6 +360,4 @@ const contentReviewSchema = new _plugins.GraphQLSchemaPlugin({
360
360
  }
361
361
  });
362
362
  var _default = contentReviewSchema;
363
- exports.default = _default;
364
-
365
- //# sourceMappingURL=contentReview.gql.js.map
363
+ exports.default = _default;
@@ -106,6 +106,4 @@ const workflowSchema = new _plugins.GraphQLSchemaPlugin({
106
106
  }
107
107
  });
108
108
  var _default = workflowSchema;
109
- exports.default = _default;
110
-
111
- //# sourceMappingURL=reviewer.gql.js.map
109
+ exports.default = _default;
@@ -195,6 +195,4 @@ const workflowSchema = new _plugins.GraphQLSchemaPlugin({
195
195
  }
196
196
  });
197
197
  var _default = workflowSchema;
198
- exports.default = _default;
199
-
200
- //# sourceMappingURL=workflow.gql.js.map
198
+ exports.default = _default;
@@ -77,6 +77,4 @@ 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;
81
-
82
- //# sourceMappingURL=graphql.js.map
80
+ exports.default = _default;
@@ -70,6 +70,4 @@ const createReviewerFromIdentity = ({
70
70
  }
71
71
  });
72
72
  };
73
- exports.createReviewerFromIdentity = createReviewerFromIdentity;
74
-
75
- //# sourceMappingURL=createReviewerFromIdentity.js.map
73
+ exports.createReviewerFromIdentity = createReviewerFromIdentity;
@@ -56,6 +56,4 @@ const deleteChangeRequestsWithContentReview = ({
56
56
  }
57
57
  });
58
58
  };
59
- exports.deleteChangeRequestsWithContentReview = deleteChangeRequestsWithContentReview;
60
-
61
- //# sourceMappingURL=deleteChangeRequestsAfterContentReview.js.map
59
+ exports.deleteChangeRequestsWithContentReview = deleteChangeRequestsWithContentReview;
@@ -49,6 +49,4 @@ const deleteCommentsAfterChangeRequest = ({
49
49
  }
50
50
  });
51
51
  };
52
- exports.deleteCommentsAfterChangeRequest = deleteCommentsAfterChangeRequest;
53
-
54
- //# sourceMappingURL=deleteCommentsAfterChangeRequest.js.map
52
+ exports.deleteCommentsAfterChangeRequest = deleteCommentsAfterChangeRequest;
@@ -57,6 +57,4 @@ new _api.ContextPlugin(async context => {
57
57
  (0, _listContentReviews.listContentReviews)(context);
58
58
  (0, _initializeNotifications.initializeNotifications)(context);
59
59
  });
60
- exports.attachApwHooks = attachApwHooks;
61
-
62
- //# sourceMappingURL=index.js.map
60
+ exports.attachApwHooks = attachApwHooks;
@@ -76,6 +76,4 @@ const initializeContentReviewSteps = ({
76
76
  input = (0, _set.default)(input, "steps", updatedSteps);
77
77
  });
78
78
  };
79
- exports.initializeContentReviewSteps = initializeContentReviewSteps;
80
-
81
- //# sourceMappingURL=initializeContentReviewSteps.js.map
79
+ exports.initializeContentReviewSteps = initializeContentReviewSteps;
@@ -12,6 +12,4 @@ const initializeNotifications = context => {
12
12
  (0, _commentAfterCreate.attachCommentAfterCreate)(context);
13
13
  (0, _changeRequestAfterCreate.attachChangeRequestAfterCreate)(context);
14
14
  };
15
- exports.initializeNotifications = initializeNotifications;
16
-
17
- //# sourceMappingURL=initializeNotifications.js.map
15
+ exports.initializeNotifications = initializeNotifications;
@@ -53,6 +53,4 @@ const listContentReviews = ({
53
53
  where.workflowId_in = userWorkflows.map(workflow => workflow.id);
54
54
  });
55
55
  };
56
- exports.listContentReviews = listContentReviews;
57
-
58
- //# sourceMappingURL=listContentReviews.js.map
56
+ exports.listContentReviews = listContentReviews;
@@ -15,6 +15,4 @@ const getAppUrl = async context => {
15
15
  }
16
16
  return null;
17
17
  };
18
- exports.getAppUrl = getAppUrl;
19
-
20
- //# sourceMappingURL=appUrl.js.map
18
+ exports.getAppUrl = getAppUrl;
@@ -108,6 +108,4 @@ const attachChangeRequestAfterCreate = context => {
108
108
  });
109
109
  });
110
110
  };
111
- exports.attachChangeRequestAfterCreate = attachChangeRequestAfterCreate;
112
-
113
- //# sourceMappingURL=changeRequestAfterCreate.js.map
111
+ exports.attachChangeRequestAfterCreate = attachChangeRequestAfterCreate;
@@ -24,6 +24,4 @@ const createChangeRequestUrl = params => {
24
24
  } = params;
25
25
  return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}/${changeRequestId}`;
26
26
  };
27
- exports.createChangeRequestUrl = createChangeRequestUrl;
28
-
29
- //# sourceMappingURL=changeRequestUrl.js.map
27
+ exports.createChangeRequestUrl = createChangeRequestUrl;
@@ -119,6 +119,4 @@ const attachCommentAfterCreate = context => {
119
119
  });
120
120
  });
121
121
  };
122
- exports.attachCommentAfterCreate = attachCommentAfterCreate;
123
-
124
- //# sourceMappingURL=commentAfterCreate.js.map
122
+ exports.attachCommentAfterCreate = attachCommentAfterCreate;
@@ -24,6 +24,4 @@ const createCommentUrl = params => {
24
24
  } = params;
25
25
  return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}/${changeRequestId}`;
26
26
  };
27
- exports.createCommentUrl = createCommentUrl;
28
-
29
- //# sourceMappingURL=commentUrl.js.map
27
+ exports.createCommentUrl = createCommentUrl;
@@ -91,6 +91,4 @@ const attachContentReviewAfterCreate = context => {
91
91
  });
92
92
  });
93
93
  };
94
- exports.attachContentReviewAfterCreate = attachContentReviewAfterCreate;
95
-
96
- //# sourceMappingURL=contentReviewAfterCreate.js.map
94
+ exports.attachContentReviewAfterCreate = attachContentReviewAfterCreate;
@@ -23,6 +23,4 @@ const createContentReviewUrl = params => {
23
23
  } = params;
24
24
  return `${baseUrl}/apw/content-reviews/${contentReviewId}/${stepId}`;
25
25
  };
26
- exports.createContentReviewUrl = createContentReviewUrl;
27
-
28
- //# sourceMappingURL=contentReviewUrl.js.map
26
+ exports.createContentReviewUrl = createContentReviewUrl;
@@ -21,6 +21,4 @@ const createContentUrl = params => {
21
21
  }
22
22
  return contentUrlPlugin.create(params);
23
23
  };
24
- exports.createContentUrl = createContentUrl;
25
-
26
- //# sourceMappingURL=contentUrl.js.map
24
+ exports.createContentUrl = createContentUrl;
@@ -18,6 +18,4 @@ const getLastChangeRequestNotificationPlugin = params => {
18
18
  });
19
19
  return plugins.shift();
20
20
  };
21
- exports.getLastChangeRequestNotificationPlugin = getLastChangeRequestNotificationPlugin;
22
-
23
- //# sourceMappingURL=lastChangeRequestNotificationPlugin.js.map
21
+ exports.getLastChangeRequestNotificationPlugin = getLastChangeRequestNotificationPlugin;
@@ -18,6 +18,4 @@ const getLastCommentNotificationPlugin = params => {
18
18
  });
19
19
  return plugins.shift();
20
20
  };
21
- exports.getLastCommentNotificationPlugin = getLastCommentNotificationPlugin;
22
-
23
- //# sourceMappingURL=lastCommentNotificationPlugin.js.map
21
+ exports.getLastCommentNotificationPlugin = getLastCommentNotificationPlugin;
@@ -18,6 +18,4 @@ const getLastContentReviewNotificationPlugin = params => {
18
18
  });
19
19
  return plugins.shift();
20
20
  };
21
- exports.getLastContentReviewNotificationPlugin = getLastContentReviewNotificationPlugin;
22
-
23
- //# sourceMappingURL=lastContentReviewNotificationPlugin.js.map
21
+ exports.getLastContentReviewNotificationPlugin = getLastContentReviewNotificationPlugin;
@@ -42,6 +42,4 @@ const fetchReviewers = async params => {
42
42
  });
43
43
  });
44
44
  };
45
- exports.fetchReviewers = fetchReviewers;
46
-
47
- //# sourceMappingURL=reviewers.js.map
45
+ exports.fetchReviewers = fetchReviewers;
@@ -38,6 +38,4 @@ 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;
42
-
43
- //# sourceMappingURL=sendChangeRequestNotification.js.map
41
+ exports.sendChangeRequestNotification = sendChangeRequestNotification;
@@ -38,6 +38,4 @@ 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;
42
-
43
- //# sourceMappingURL=sendCommentNotification.js.map
41
+ exports.sendCommentNotification = sendCommentNotification;
@@ -38,6 +38,4 @@ 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;
42
-
43
- //# sourceMappingURL=sendContentReviewNotification.js.map
41
+ exports.sendContentReviewNotification = sendContentReviewNotification;
@@ -83,6 +83,4 @@ const updatePendingChangeRequestsCount = ({
83
83
  }
84
84
  });
85
85
  };
86
- exports.updatePendingChangeRequestsCount = updatePendingChangeRequestsCount;
87
-
88
- //# sourceMappingURL=updatePendingChangeRequests.js.map
86
+ exports.updatePendingChangeRequestsCount = updatePendingChangeRequestsCount;
@@ -141,6 +141,4 @@ const updateLatestCommentId = ({
141
141
  }
142
142
  });
143
143
  };
144
- exports.updateLatestCommentId = updateLatestCommentId;
145
-
146
- //# sourceMappingURL=updateTotalComments.js.map
144
+ exports.updateLatestCommentId = updateLatestCommentId;
@@ -70,6 +70,4 @@ const validateChangeRequest = ({
70
70
  }
71
71
  });
72
72
  };
73
- exports.validateChangeRequest = validateChangeRequest;
74
-
75
- //# sourceMappingURL=validateChangeRequest.js.map
73
+ exports.validateChangeRequest = validateChangeRequest;
@@ -43,6 +43,4 @@ const validateComment = ({
43
43
  input.step = changeRequest.step;
44
44
  });
45
45
  };
46
- exports.validateComment = validateComment;
47
-
48
- //# sourceMappingURL=validateComment.js.map
46
+ exports.validateComment = validateComment;
@@ -29,6 +29,4 @@ const validateContentReview = ({
29
29
  }
30
30
  });
31
31
  };
32
- exports.validateContentReview = validateContentReview;
33
-
34
- //# sourceMappingURL=validateContentReview.js.map
32
+ exports.validateContentReview = validateContentReview;