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