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
2025-05-27 12:22:11 +05:30
committed by GitHub
parent 730cac0ed2
commit 791276e80f
8 changed files with 111 additions and 38 deletions

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