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 })

#Storage Source

data Storage

#StorageBucket Source

#createSignedUrl Source

#createSignedUrls Source

createSignedUrls :: Array StoragePath -> Seconds -> StorageBucket -> Aff (Response (Array { error :: Maybe String, path :: String, signedUrl :: String }))

#exists Source

#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 }