Liking cljdoc? Tell your friends :D

supabase.storage.specs

Malli schemas for Supabase Storage operation inputs.

Schemas validate caller arguments only — response bodies are returned as plain JSON-decoded maps. See https://supabase.com/docs/reference/javascript/storage-createbucket

Malli schemas for Supabase Storage operation inputs.

Schemas validate caller arguments only — response bodies are returned as
plain JSON-decoded maps. See https://supabase.com/docs/reference/javascript/storage-createbucket
raw docstring

BucketCreateclj

Schema for create-bucket attributes. id is passed positionally and is not part of this map.

Schema for create-bucket attributes. `id` is passed positionally and is
not part of this map.
sourceraw docstring

BucketUpdateclj

Schema for update-bucket attributes.

Schema for update-bucket attributes.
sourceraw docstring

ensure-storageclj

(ensure-storage s)

Returns nil if s is a valid storage instance, otherwise an anomaly.

Returns nil if `s` is a valid storage instance, otherwise an anomaly.
sourceraw docstring

ensure-validclj

(ensure-valid schema value)

Returns nil if value matches schema, otherwise an anomaly carrying the malli explanation.

Returns nil if `value` matches `schema`, otherwise an anomaly carrying
the malli explanation.
sourceraw docstring

FileOptionsclj

Schema for upload options.

Schema for upload options.
sourceraw docstring

MoveCopyOptsclj

Schema for move/copy options.

Schema for move/copy options.
sourceraw docstring

PublicUrlOptsclj

Schema for get-public-url options.

Schema for get-public-url options.
sourceraw docstring

SearchOptionsclj

Schema for list-files search options. All fields optional.

Schema for list-files search options. All fields optional.
sourceraw docstring

SignedUrlOptsclj

Schema for create-signed-url options. expires-in is required (seconds).

Schema for create-signed-url options. `expires-in` is required (seconds).
sourceraw docstring

SignedUrlsOptsclj

Schema for create-signed-urls options.

Schema for create-signed-urls options.
sourceraw docstring

SortByclj

source

Storageclj

Schema for a storage instance map produced by from.

Schema for a storage instance map produced by `from`.
sourceraw docstring

UploadBodyclj

Schema for upload body — bytes, InputStream, File, or string.

Schema for upload body — bytes, InputStream, File, or string.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close