For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
buckets table permissions: noneobjects table permissions: update and selectupdate always replaces the file and ignores upsert. The file must already exist.let fileName = "avatar1.png"
try await supabase.storage
.from("avatars")
.update(
path: "public/\(fileName)",
data: fileData,
options: UploadOptions(
contentType: "image/png",
cacheControl: .maxAge(.seconds(3600))
)
)