@strapi/content-manager 0.0.0-experimental.cfda358b7f27015e34e739b8742a2962ae2e7aee → 0.0.0-experimental.d3cdf79a0d5f803dfeb6d0f055bb2f3b913bb015

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 (85) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-BTR_hQow.js → ComponentConfigurationPage-BSEZcJVB.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-BTR_hQow.js.map → ComponentConfigurationPage-BSEZcJVB.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-bLQr82ce.mjs → ComponentConfigurationPage-BiASGi7x.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-bLQr82ce.mjs.map → ComponentConfigurationPage-BiASGi7x.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-z39Wv3E6.js → EditConfigurationPage-D2rtvneE.js} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-z39Wv3E6.js.map → EditConfigurationPage-D2rtvneE.js.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-BhRSnUsL.mjs → EditConfigurationPage-vN4zupij.mjs} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-BhRSnUsL.mjs.map → EditConfigurationPage-vN4zupij.mjs.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-wujOq90c.js → EditViewPage-BwisF04Q.js} +3 -3
  10. package/dist/_chunks/{EditViewPage-wujOq90c.js.map → EditViewPage-BwisF04Q.js.map} +1 -1
  11. package/dist/_chunks/{EditViewPage-BCjNxNlY.mjs → EditViewPage-_A31Cl4g.mjs} +3 -3
  12. package/dist/_chunks/{EditViewPage-BCjNxNlY.mjs.map → EditViewPage-_A31Cl4g.mjs.map} +1 -1
  13. package/dist/_chunks/{Field-Byr3mPTl.mjs → Field-CvIunNOj.mjs} +23 -50
  14. package/dist/_chunks/Field-CvIunNOj.mjs.map +1 -0
  15. package/dist/_chunks/{Field-B5QXnctJ.js → Field-Dsu6-FrM.js} +23 -50
  16. package/dist/_chunks/Field-Dsu6-FrM.js.map +1 -0
  17. package/dist/_chunks/{Form-BZgvE8C8.mjs → Form-DK0fG0Gj.mjs} +2 -2
  18. package/dist/_chunks/{Form-BZgvE8C8.mjs.map → Form-DK0fG0Gj.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-D7mexvm3.js → Form-DUwWcCmA.js} +2 -2
  20. package/dist/_chunks/{Form-D7mexvm3.js.map → Form-DUwWcCmA.js.map} +1 -1
  21. package/dist/_chunks/{History-DYl2A8Z_.js → History-CeCDhoJG.js} +4 -4
  22. package/dist/_chunks/{History-DYl2A8Z_.js.map → History-CeCDhoJG.js.map} +1 -1
  23. package/dist/_chunks/{History-CqNgxkqK.mjs → History-DP8gmXpm.mjs} +4 -4
  24. package/dist/_chunks/{History-CqNgxkqK.mjs.map → History-DP8gmXpm.mjs.map} +1 -1
  25. package/dist/_chunks/{ListConfigurationPage-BbQjzKkQ.mjs → ListConfigurationPage-BCkO5iuN.mjs} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BbQjzKkQ.mjs.map → ListConfigurationPage-BCkO5iuN.mjs.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BXnu_OoY.js → ListConfigurationPage-C-bAd44a.js} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BXnu_OoY.js.map → ListConfigurationPage-C-bAd44a.js.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-BtSi8C1l.js → ListViewPage-BKTZFhsM.js} +3 -3
  30. package/dist/_chunks/{ListViewPage-BtSi8C1l.js.map → ListViewPage-BKTZFhsM.js.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-D4ofkbjR.mjs → ListViewPage-Cf_DgaFV.mjs} +3 -3
  32. package/dist/_chunks/{ListViewPage-D4ofkbjR.mjs.map → ListViewPage-Cf_DgaFV.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-CitJeOq4.js → NoContentTypePage-D3Cm3v3q.js} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-CitJeOq4.js.map → NoContentTypePage-D3Cm3v3q.js.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-DyUx5mXh.mjs → NoContentTypePage-nHIyvJcB.mjs} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-DyUx5mXh.mjs.map → NoContentTypePage-nHIyvJcB.mjs.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-DhIiyWkk.mjs → NoPermissionsPage-BALVSJ7x.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-DhIiyWkk.mjs.map → NoPermissionsPage-BALVSJ7x.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-DzgWz0M-.js → NoPermissionsPage-CChGWBj5.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-DzgWz0M-.js.map → NoPermissionsPage-CChGWBj5.js.map} +1 -1
  41. package/dist/_chunks/{Preview-BaYGJ0nb.mjs → Preview-C4NBzKUV.mjs} +5 -4
  42. package/dist/_chunks/Preview-C4NBzKUV.mjs.map +1 -0
  43. package/dist/_chunks/{Preview-DfNx8Ke-.js → Preview-CT28Ckpg.js} +5 -4
  44. package/dist/_chunks/Preview-CT28Ckpg.js.map +1 -0
  45. package/dist/_chunks/{Relations-DM2yUTST.mjs → Relations-C8uC89cT.mjs} +3 -3
  46. package/dist/_chunks/{Relations-DM2yUTST.mjs.map → Relations-C8uC89cT.mjs.map} +1 -1
  47. package/dist/_chunks/{Relations-DuKCaXrv.js → Relations-CvkPCng_.js} +3 -3
  48. package/dist/_chunks/{Relations-DuKCaXrv.js.map → Relations-CvkPCng_.js.map} +1 -1
  49. package/dist/_chunks/{index-BUWEmX8m.js → index-CnX_j5h-.js} +24 -12
  50. package/dist/_chunks/index-CnX_j5h-.js.map +1 -0
  51. package/dist/_chunks/{index-DVAIIsOs.mjs → index-Dh2aGTGJ.mjs} +24 -12
  52. package/dist/_chunks/index-Dh2aGTGJ.mjs.map +1 -0
  53. package/dist/_chunks/{layout-Bxsv5mP7.mjs → layout-B5qsPihj.mjs} +3 -3
  54. package/dist/_chunks/{layout-Bxsv5mP7.mjs.map → layout-B5qsPihj.mjs.map} +1 -1
  55. package/dist/_chunks/{layout-C3fN7Ejz.js → layout-B_qdWGny.js} +3 -3
  56. package/dist/_chunks/{layout-C3fN7Ejz.js.map → layout-B_qdWGny.js.map} +1 -1
  57. package/dist/_chunks/{relations-BPZKAoEY.js → relations-ChcieiF5.js} +2 -2
  58. package/dist/_chunks/{relations-BPZKAoEY.js.map → relations-ChcieiF5.js.map} +1 -1
  59. package/dist/_chunks/{relations-o3pPhzY4.mjs → relations-DMXpNY-e.mjs} +2 -2
  60. package/dist/_chunks/{relations-o3pPhzY4.mjs.map → relations-DMXpNY-e.mjs.map} +1 -1
  61. package/dist/admin/index.js +1 -1
  62. package/dist/admin/index.mjs +1 -1
  63. package/dist/server/index.js +77 -63
  64. package/dist/server/index.js.map +1 -1
  65. package/dist/server/index.mjs +78 -64
  66. package/dist/server/index.mjs.map +1 -1
  67. package/dist/server/src/controllers/utils/metadata.d.ts +1 -0
  68. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  69. package/dist/server/src/index.d.ts +3 -2
  70. package/dist/server/src/index.d.ts.map +1 -1
  71. package/dist/server/src/services/document-metadata.d.ts +4 -2
  72. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  73. package/dist/server/src/services/index.d.ts +3 -2
  74. package/dist/server/src/services/index.d.ts.map +1 -1
  75. package/dist/server/src/services/utils/configuration/index.d.ts +2 -2
  76. package/dist/server/src/services/utils/configuration/layouts.d.ts +2 -2
  77. package/dist/server/src/services/utils/populate.d.ts +2 -2
  78. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  79. package/package.json +6 -7
  80. package/dist/_chunks/Field-B5QXnctJ.js.map +0 -1
  81. package/dist/_chunks/Field-Byr3mPTl.mjs.map +0 -1
  82. package/dist/_chunks/Preview-BaYGJ0nb.mjs.map +0 -1
  83. package/dist/_chunks/Preview-DfNx8Ke-.js.map +0 -1
  84. package/dist/_chunks/index-BUWEmX8m.js.map +0 -1
  85. package/dist/_chunks/index-DVAIIsOs.mjs.map +0 -1
@@ -227,7 +227,19 @@ const documentApi = contentManagerApi.injectEndpoints({
227
227
  { type: "Document", id: `${model}_LIST` },
228
228
  "Relations",
229
229
  { type: "UidAvailability", id: model }
230
- ]
230
+ ],
231
+ transformResponse: (response, meta, arg) => {
232
+ if (!("data" in response) && arg.model === "plugin::users-permissions.user") {
233
+ return {
234
+ data: response,
235
+ meta: {
236
+ availableStatus: [],
237
+ availableLocales: []
238
+ }
239
+ };
240
+ }
241
+ return response;
242
+ }
231
243
  }),
232
244
  deleteDocument: builder.mutation({
233
245
  query: ({ collectionType, model, documentId, params }) => ({
@@ -1667,7 +1679,7 @@ const useDocumentActions = () => {
1667
1679
  };
1668
1680
  };
1669
1681
  const ProtectedHistoryPage = React.lazy(
1670
- () => import("./History-CqNgxkqK.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1682
+ () => import("./History-DP8gmXpm.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
1671
1683
  );
1672
1684
  const routes$2 = [
1673
1685
  {
@@ -1680,7 +1692,7 @@ const routes$2 = [
1680
1692
  }
1681
1693
  ];
1682
1694
  const ProtectedPreviewPage = React.lazy(
1683
- () => import("./Preview-BaYGJ0nb.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
1695
+ () => import("./Preview-C4NBzKUV.mjs").then((mod) => ({ default: mod.ProtectedPreviewPage }))
1684
1696
  );
1685
1697
  const routes$1 = [
1686
1698
  {
@@ -1693,31 +1705,31 @@ const routes$1 = [
1693
1705
  }
1694
1706
  ];
1695
1707
  const ProtectedEditViewPage = lazy(
1696
- () => import("./EditViewPage-BCjNxNlY.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1708
+ () => import("./EditViewPage-_A31Cl4g.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1697
1709
  );
1698
1710
  const ProtectedListViewPage = lazy(
1699
- () => import("./ListViewPage-D4ofkbjR.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1711
+ () => import("./ListViewPage-Cf_DgaFV.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1700
1712
  );
1701
1713
  const ProtectedListConfiguration = lazy(
1702
- () => import("./ListConfigurationPage-BbQjzKkQ.mjs").then((mod) => ({
1714
+ () => import("./ListConfigurationPage-BCkO5iuN.mjs").then((mod) => ({
1703
1715
  default: mod.ProtectedListConfiguration
1704
1716
  }))
1705
1717
  );
1706
1718
  const ProtectedEditConfigurationPage = lazy(
1707
- () => import("./EditConfigurationPage-BhRSnUsL.mjs").then((mod) => ({
1719
+ () => import("./EditConfigurationPage-vN4zupij.mjs").then((mod) => ({
1708
1720
  default: mod.ProtectedEditConfigurationPage
1709
1721
  }))
1710
1722
  );
1711
1723
  const ProtectedComponentConfigurationPage = lazy(
1712
- () => import("./ComponentConfigurationPage-bLQr82ce.mjs").then((mod) => ({
1724
+ () => import("./ComponentConfigurationPage-BiASGi7x.mjs").then((mod) => ({
1713
1725
  default: mod.ProtectedComponentConfigurationPage
1714
1726
  }))
1715
1727
  );
1716
1728
  const NoPermissions = lazy(
1717
- () => import("./NoPermissionsPage-DhIiyWkk.mjs").then((mod) => ({ default: mod.NoPermissions }))
1729
+ () => import("./NoPermissionsPage-BALVSJ7x.mjs").then((mod) => ({ default: mod.NoPermissions }))
1718
1730
  );
1719
1731
  const NoContentType = lazy(
1720
- () => import("./NoContentTypePage-DyUx5mXh.mjs").then((mod) => ({ default: mod.NoContentType }))
1732
+ () => import("./NoContentTypePage-nHIyvJcB.mjs").then((mod) => ({ default: mod.NoContentType }))
1721
1733
  );
1722
1734
  const CollectionTypePages = () => {
1723
1735
  const { collectionType } = useParams();
@@ -4172,7 +4184,7 @@ const index = {
4172
4184
  app.router.addRoute({
4173
4185
  path: "content-manager/*",
4174
4186
  lazy: async () => {
4175
- const { Layout } = await import("./layout-Bxsv5mP7.mjs");
4187
+ const { Layout } = await import("./layout-B5qsPihj.mjs");
4176
4188
  return {
4177
4189
  Component: Layout
4178
4190
  };
@@ -4254,4 +4266,4 @@ export {
4254
4266
  capitalise as y,
4255
4267
  useUpdateContentTypeConfigurationMutation as z
4256
4268
  };
4257
- //# sourceMappingURL=index-DVAIIsOs.mjs.map
4269
+ //# sourceMappingURL=index-Dh2aGTGJ.mjs.map