@strapi/review-workflows 5.0.2 → 5.0.4
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-DnEAvmeU.js → Layout-8i0EXRRs.js} +2 -2
- package/dist/_chunks/{Layout-DnEAvmeU.js.map → Layout-8i0EXRRs.js.map} +1 -1
- package/dist/_chunks/{Layout-BJOxxAeM.mjs → Layout-C9m07iTY.mjs} +2 -2
- package/dist/_chunks/{Layout-BJOxxAeM.mjs.map → Layout-C9m07iTY.mjs.map} +1 -1
- package/dist/_chunks/{_id-DSDzUpwX.js → id-CmtaTf1x.js} +3 -4
- package/dist/_chunks/id-CmtaTf1x.js.map +1 -0
- package/dist/_chunks/{_id-6LK95-rZ.mjs → id-DV0Ndeav.mjs} +3 -4
- package/dist/_chunks/id-DV0Ndeav.mjs.map +1 -0
- package/dist/_chunks/{index-6FZL88pd.js → index-B8WmHbCU.js} +3 -3
- package/dist/_chunks/{index-6FZL88pd.js.map → index-B8WmHbCU.js.map} +1 -1
- package/dist/_chunks/{index-DZSLya4b.js → index-BCUO98DV.js} +2 -5
- package/dist/_chunks/{index-DZSLya4b.js.map → index-BCUO98DV.js.map} +1 -1
- package/dist/_chunks/{index-Df1alkCk.mjs → index-CA5Axcoc.mjs} +3 -3
- package/dist/_chunks/{index-Df1alkCk.mjs.map → index-CA5Axcoc.mjs.map} +1 -1
- package/dist/_chunks/{index-lJqpw8bs.mjs → index-CqYVkW3E.mjs} +2 -5
- package/dist/_chunks/{index-lJqpw8bs.mjs.map → index-CqYVkW3E.mjs.map} +1 -1
- package/dist/_chunks/{router-CZqe-02r.js → router-BOXlNnrU.js} +3 -3
- package/dist/_chunks/router-BOXlNnrU.js.map +1 -0
- package/dist/_chunks/{router-DeSH-NeW.mjs → router-Jdt6SbIA.mjs} +3 -3
- package/dist/_chunks/router-Jdt6SbIA.mjs.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +9 -7
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +9 -7
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/services/stages.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/_chunks/_id-6LK95-rZ.mjs.map +0 -1
- package/dist/_chunks/_id-DSDzUpwX.js.map +0 -1
- package/dist/_chunks/router-CZqe-02r.js.map +0 -1
- package/dist/_chunks/router-DeSH-NeW.mjs.map +0 -1
- /package/dist/admin/src/routes/settings/{:id.d.ts → id.d.ts} +0 -0
package/dist/server/index.mjs
CHANGED
|
@@ -7331,7 +7331,9 @@ const stages$1 = ({ strapi: strapi2 }) => {
|
|
|
7331
7331
|
const entity = await strapi2.documents(model).update({
|
|
7332
7332
|
documentId,
|
|
7333
7333
|
locale,
|
|
7334
|
-
|
|
7334
|
+
// Stage doesn't have DP or i18n enabled, connecting it through the `id`
|
|
7335
|
+
// will be safer than relying on the `documentId` + `locale` + `status` transformation
|
|
7336
|
+
data: { [ENTITY_STAGE_ATTRIBUTE]: fp.pick(["id"], stage) },
|
|
7335
7337
|
populate: [ENTITY_STAGE_ATTRIBUTE]
|
|
7336
7338
|
});
|
|
7337
7339
|
metrics.sendDidChangeEntryStage();
|
|
@@ -7607,13 +7609,13 @@ const reviewWorkflowsMetrics = {
|
|
|
7607
7609
|
sendDidSendReviewWorkflowPropertiesOnceAWeek,
|
|
7608
7610
|
sendDidEditAssignee
|
|
7609
7611
|
};
|
|
7610
|
-
function _typeof(
|
|
7612
|
+
function _typeof(o) {
|
|
7611
7613
|
"@babel/helpers - typeof";
|
|
7612
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
7613
|
-
return typeof
|
|
7614
|
-
} : function(
|
|
7615
|
-
return
|
|
7616
|
-
}, _typeof(
|
|
7614
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
7615
|
+
return typeof o2;
|
|
7616
|
+
} : function(o2) {
|
|
7617
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
7618
|
+
}, _typeof(o);
|
|
7617
7619
|
}
|
|
7618
7620
|
function toInteger(dirtyNumber) {
|
|
7619
7621
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|