feat: introduce bulkDelete method for IFileProvider (#12614)

Fixes: FRMW-2974

Currently during the product imports, we create multiple chunks that must be deleted after the import has finished (either successfully or with an error). Deleting files one by one leads to multiple network calls and slows down everything.

The `bulkDelete` method deletes multiple files (with their fileKey) in one go
This commit is contained in:
Harminder Virk authored and GitHub committed 2025-05-27 06:52:11 +00:00
1 parent 730cac0ed2
commit 791276e80f
8 files changed
+111 -38

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
---
"@medusajs/file": patch
"@medusajs/file-local": patch
"@medusajs/file-s3": patch
"@medusajs/types": patch
"@medusajs/utils": patch
---
feat: introduce bulkDelete method for IFileProvider