@strapi/review-workflows 0.0.0-experimental.f9cac24ba3b2f6acb12d0fb5669106e5a134174e → 0.0.0-experimental.fccfa141baa6df7776ec7cb83f7fe923626ba6f5
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/_chunks/{Layout-D7wwT4c7.js → Layout-BWZ_v3U2.js} +2 -2
- package/dist/_chunks/{Layout-D7wwT4c7.js.map → Layout-BWZ_v3U2.js.map} +1 -1
- package/dist/_chunks/{Layout-CJZ4iUxI.mjs → Layout-D67sjTk0.mjs} +2 -2
- package/dist/_chunks/{Layout-CJZ4iUxI.mjs.map → Layout-D67sjTk0.mjs.map} +1 -1
- package/dist/_chunks/{_id-DA44l-QM.mjs → _id-V0we8TjF.mjs} +4 -3
- package/dist/_chunks/{_id-DA44l-QM.mjs.map → _id-V0we8TjF.mjs.map} +1 -1
- package/dist/_chunks/{_id-DgUOk637.js → _id-yvj51pI9.js} +4 -3
- package/dist/_chunks/{_id-DgUOk637.js.map → _id-yvj51pI9.js.map} +1 -1
- package/dist/_chunks/{index-C33Q2-Fc.mjs → index-94iCcgYf.mjs} +2 -5
- package/dist/_chunks/{index-C33Q2-Fc.mjs.map → index-94iCcgYf.mjs.map} +1 -1
- package/dist/_chunks/{index-mQar1hfK.js → index-B-9wJGm0.js} +2 -5
- package/dist/_chunks/{index-mQar1hfK.js.map → index-B-9wJGm0.js.map} +1 -1
- package/dist/_chunks/{index-CnyO97Gi.mjs → index-C1DFk3YF.mjs} +3 -3
- package/dist/_chunks/{index-CnyO97Gi.mjs.map → index-C1DFk3YF.mjs.map} +1 -1
- package/dist/_chunks/{index-DL9odlOl.js → index-DoDtuLNl.js} +3 -3
- package/dist/_chunks/{index-DL9odlOl.js.map → index-DoDtuLNl.js.map} +1 -1
- package/dist/_chunks/{router-BFv8U71z.mjs → router-BXkSghs6.mjs} +3 -3
- package/dist/_chunks/{router-BFv8U71z.mjs.map → router-BXkSghs6.mjs.map} +1 -1
- package/dist/_chunks/{router-B1YtLp6u.js → router-By3ObDDu.js} +3 -3
- package/dist/_chunks/{router-B1YtLp6u.js.map → router-By3ObDDu.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +7 -12
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +7 -12
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/services/metrics/weekly-metrics.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/server/index.mjs
CHANGED
|
@@ -7607,13 +7607,13 @@ const reviewWorkflowsMetrics = {
|
|
|
7607
7607
|
sendDidSendReviewWorkflowPropertiesOnceAWeek,
|
|
7608
7608
|
sendDidEditAssignee
|
|
7609
7609
|
};
|
|
7610
|
-
function _typeof(
|
|
7610
|
+
function _typeof(o) {
|
|
7611
7611
|
"@babel/helpers - typeof";
|
|
7612
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
7613
|
-
return typeof
|
|
7614
|
-
} : function(
|
|
7615
|
-
return
|
|
7616
|
-
}, _typeof(
|
|
7612
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
7613
|
+
return typeof o2;
|
|
7614
|
+
} : function(o2) {
|
|
7615
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
7616
|
+
}, _typeof(o);
|
|
7617
7617
|
}
|
|
7618
7618
|
function toInteger(dirtyNumber) {
|
|
7619
7619
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|
|
@@ -7748,12 +7748,7 @@ const reviewWorkflowsWeeklyMetrics = ({ strapi: strapi2 }) => {
|
|
|
7748
7748
|
},
|
|
7749
7749
|
async registerCron() {
|
|
7750
7750
|
const weeklySchedule = await this.ensureWeeklyStoredCronSchedule();
|
|
7751
|
-
strapi2.cron.add({
|
|
7752
|
-
reviewWorkflowsWeekly: {
|
|
7753
|
-
task: this.sendMetrics.bind(this),
|
|
7754
|
-
options: weeklySchedule
|
|
7755
|
-
}
|
|
7756
|
-
});
|
|
7751
|
+
strapi2.cron.add({ [weeklySchedule]: this.sendMetrics.bind(this) });
|
|
7757
7752
|
}
|
|
7758
7753
|
};
|
|
7759
7754
|
};
|