strapi-plugin-bulk-updater 1.5.10 → 1.5.12
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/{BulkUpdater-7rkObCic.mjs → BulkUpdater-GPpE8YW2.mjs} +20 -7
- package/dist/_chunks/BulkUpdater-GPpE8YW2.mjs.map +1 -0
- package/dist/_chunks/{BulkUpdater-BlSPmNFG.js → BulkUpdater-VwNHxQId.js} +20 -7
- package/dist/_chunks/BulkUpdater-VwNHxQId.js.map +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +2 -8
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +2 -8
- package/dist/server/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/_chunks/BulkUpdater-7rkObCic.mjs.map +0 -1
- package/dist/_chunks/BulkUpdater-BlSPmNFG.js.map +0 -1
package/dist/server/index.mjs
CHANGED
|
@@ -5608,14 +5608,8 @@ function buildDeepPopulate(attributes, allComponents, depth = 0) {
|
|
|
5608
5608
|
}
|
|
5609
5609
|
} else if (def.type === "dynamiczone") {
|
|
5610
5610
|
populate[key] = true;
|
|
5611
|
-
} else if (def.type === "relation") {
|
|
5612
|
-
populate[key] =
|
|
5613
|
-
fields: ["documentId", "name", "title", "slug", "username", "email"]
|
|
5614
|
-
};
|
|
5615
|
-
} else if (def.type === "media") {
|
|
5616
|
-
populate[key] = {
|
|
5617
|
-
fields: ["url", "name", "mime"]
|
|
5618
|
-
};
|
|
5611
|
+
} else if (def.type === "relation" || def.type === "media") {
|
|
5612
|
+
populate[key] = true;
|
|
5619
5613
|
}
|
|
5620
5614
|
}
|
|
5621
5615
|
return Object.keys(populate).length > 0 ? populate : void 0;
|