Module
Supabase.Storage
- Package
- purescript-supabase
- Repository
- i-am-the-slime/purescript-supabase
#FileOptions Source
type FileOptions = { upsert :: Boolean }#ListOptions Source
type ListOptions = { limit :: Int, offset :: Int, sortBy :: { column :: String, order :: String } }#ListOptionsR Source
type ListOptionsR :: Row Typetype ListOptionsR = (limit :: Int, offset :: Int, sortBy :: { column :: String, order :: String })
#StorageBucket Source
data StorageBucket#copy Source
copy :: StoragePath -> StoragePath -> StorageBucket -> Aff { error :: Maybe ResultError }#createSignedUrl Source
createSignedUrl :: StoragePath -> Seconds -> StorageBucket -> Aff (Response { signedUrl :: String })#createSignedUrls Source
createSignedUrls :: Array StoragePath -> Seconds -> StorageBucket -> Aff (Response (Array { error :: Maybe String, path :: String, signedUrl :: String }))#download Source
download :: StoragePath -> StorageBucket -> Aff (Response Blob)#exists Source
exists :: StoragePath -> StorageBucket -> Aff { data :: Boolean, error :: Maybe ResultError }#from Source
from :: BucketName -> Storage -> StorageBucket#fromStorage Source
fromStorage :: BucketName -> Client -> StorageBucket#getPublicUrl Source
getPublicUrl :: StoragePath -> StorageBucket -> String#list Source
list :: forall opts thru. WriteForeign (Record opts) => Union opts thru ListOptionsR => StoragePath -> Record opts -> StorageBucket -> Aff { data :: Maybe (Array { id :: Maybe String, name :: String }), error :: Maybe ResultError }#move Source
move :: StoragePath -> StoragePath -> StorageBucket -> Aff { error :: Maybe ResultError }#remove Source
remove :: Array StoragePath -> StorageBucket -> Aff { error :: Maybe ResultError }#upload Source
upload :: StoragePath -> File -> FileOptions -> StorageBucket -> Aff (Response { path :: String })- Modules
- Codegen
- LSP.
Context - LSP.
SchemaParser - LSP.
Server - Supabase
- Supabase.
Auth - Supabase.
Auth. Types - Supabase.
AuthHelpers - Supabase.
Filter - Supabase.
Realtime - Supabase.
Realtime. ListenType - Supabase.
Realtime. SubscribeStates - Supabase.
SSR - Supabase.
Select - Supabase.
Storage - Supabase.
Supabase - Supabase.
Types - Supabase.
UUID - Supabase.
Util