@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.mjs
CHANGED
|
@@ -7331,9 +7331,7 @@ const stages$1 = ({ strapi: strapi2 }) => {
|
|
|
7331
7331
|
const entity = await strapi2.documents(model).update({
|
|
7332
7332
|
documentId,
|
|
7333
7333
|
locale,
|
|
7334
|
-
|
|
7335
|
-
// will be safer than relying on the `documentId` + `locale` + `status` transformation
|
|
7336
|
-
data: { [ENTITY_STAGE_ATTRIBUTE]: fp.pick(["id"], stage) },
|
|
7334
|
+
data: { [ENTITY_STAGE_ATTRIBUTE]: stage },
|
|
7337
7335
|
populate: [ENTITY_STAGE_ATTRIBUTE]
|
|
7338
7336
|
});
|
|
7339
7337
|
metrics.sendDidChangeEntryStage();
|
|
@@ -7609,13 +7607,13 @@ const reviewWorkflowsMetrics = {
|
|
|
7609
7607
|
sendDidSendReviewWorkflowPropertiesOnceAWeek,
|
|
7610
7608
|
sendDidEditAssignee
|
|
7611
7609
|
};
|
|
7612
|
-
function _typeof(
|
|
7610
|
+
function _typeof(obj) {
|
|
7613
7611
|
"@babel/helpers - typeof";
|
|
7614
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
7615
|
-
return typeof
|
|
7616
|
-
} : function(
|
|
7617
|
-
return
|
|
7618
|
-
}, _typeof(
|
|
7612
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
7613
|
+
return typeof obj2;
|
|
7614
|
+
} : function(obj2) {
|
|
7615
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
7616
|
+
}, _typeof(obj);
|
|
7619
7617
|
}
|
|
7620
7618
|
function toInteger(dirtyNumber) {
|
|
7621
7619
|
if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
|