buckets
table permissions: noneobjects
table permissions: update
and select
The path of the file you want to upload.
The data of the file you want to upload.
Whether to overwrite the file if it already exists.
val bucket = supabase.storage.from("avatars")
bucket.update("myIcon.png", byteArray, upsert = false)
//on JVM you can use java.io.File
bucket.update("myIcon.png", file, upsert = false)