@strapi/review-workflows 5.0.4 → 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.
Files changed (33) hide show
  1. package/dist/_chunks/{Layout-C9m07iTY.mjs → Layout-BJOxxAeM.mjs} +2 -2
  2. package/dist/_chunks/{Layout-C9m07iTY.mjs.map → Layout-BJOxxAeM.mjs.map} +1 -1
  3. package/dist/_chunks/{Layout-8i0EXRRs.js → Layout-DnEAvmeU.js} +2 -2
  4. package/dist/_chunks/{Layout-8i0EXRRs.js.map → Layout-DnEAvmeU.js.map} +1 -1
  5. package/dist/_chunks/{id-DV0Ndeav.mjs → _id-6LK95-rZ.mjs} +4 -3
  6. package/dist/_chunks/_id-6LK95-rZ.mjs.map +1 -0
  7. package/dist/_chunks/{id-CmtaTf1x.js → _id-DSDzUpwX.js} +4 -3
  8. package/dist/_chunks/_id-DSDzUpwX.js.map +1 -0
  9. package/dist/_chunks/{index-B8WmHbCU.js → index-6FZL88pd.js} +3 -3
  10. package/dist/_chunks/{index-B8WmHbCU.js.map → index-6FZL88pd.js.map} +1 -1
  11. package/dist/_chunks/{index-BCUO98DV.js → index-DZSLya4b.js} +5 -2
  12. package/dist/_chunks/{index-BCUO98DV.js.map → index-DZSLya4b.js.map} +1 -1
  13. package/dist/_chunks/{index-CA5Axcoc.mjs → index-Df1alkCk.mjs} +3 -3
  14. package/dist/_chunks/{index-CA5Axcoc.mjs.map → index-Df1alkCk.mjs.map} +1 -1
  15. package/dist/_chunks/{index-CqYVkW3E.mjs → index-lJqpw8bs.mjs} +5 -2
  16. package/dist/_chunks/{index-CqYVkW3E.mjs.map → index-lJqpw8bs.mjs.map} +1 -1
  17. package/dist/_chunks/{router-BOXlNnrU.js → router-CZqe-02r.js} +3 -3
  18. package/dist/_chunks/router-CZqe-02r.js.map +1 -0
  19. package/dist/_chunks/{router-Jdt6SbIA.mjs → router-DeSH-NeW.mjs} +3 -3
  20. package/dist/_chunks/router-DeSH-NeW.mjs.map +1 -0
  21. package/dist/admin/index.js +1 -1
  22. package/dist/admin/index.mjs +1 -1
  23. package/dist/server/index.js +7 -9
  24. package/dist/server/index.js.map +1 -1
  25. package/dist/server/index.mjs +7 -9
  26. package/dist/server/index.mjs.map +1 -1
  27. package/dist/server/src/services/stages.d.ts.map +1 -1
  28. package/package.json +6 -6
  29. package/dist/_chunks/id-CmtaTf1x.js.map +0 -1
  30. package/dist/_chunks/id-DV0Ndeav.mjs.map +0 -1
  31. package/dist/_chunks/router-BOXlNnrU.js.map +0 -1
  32. package/dist/_chunks/router-Jdt6SbIA.mjs.map +0 -1
  33. /package/dist/admin/src/routes/settings/{id.d.ts → :id.d.ts} +0 -0
@@ -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
- // 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) },
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(o) {
7610
+ function _typeof(obj) {
7613
7611
  "@babel/helpers - 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);
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) {