feat: add SQS + EventBridge
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import type {StorageObjectList} from '@/types/resource'
|
||||
|
||||
export function bucketDeleteWarning(contents: StorageObjectList): string | null {
|
||||
return contents.objects.length > 0
|
||||
? 'This bucket contains objects or folders. Delete them before deleting the bucket.'
|
||||
: null
|
||||
}
|
||||
Reference in New Issue
Block a user