Bug Description
The README.md documents bucket.remove() as accepting an array of file paths:
const { data, error } = await insforge.storage
.from('avatars')
.remove(['user-avatar.png']);
However, the actual implementation in src/modules/storage.ts (line 343) only accepts a single string:
async remove(path: string): Promise<StorageResponse<{ message: string }>>
Users following the README will get a type error when passing an array.
Expected Behavior
remove() should accept string | string[] and support batch deletion as documented.
Bug Description
The README.md documents bucket.remove() as accepting an array of file paths:
const { data, error } = await insforge.storage
.from('avatars')
.remove(['user-avatar.png']);
However, the actual implementation in src/modules/storage.ts (line 343) only accepts a single string:
async remove(path: string): Promise<StorageResponse<{ message: string }>>
Users following the README will get a type error when passing an array.
Expected Behavior
remove() should accept string | string[] and support batch deletion as documented.