Malli schemas for Supabase Realtime API inputs.
Validates caller arguments only. Server payloads pass through unchecked — postgres column data is user-defined and shouldn't be gated.
Malli schemas for Supabase Realtime API inputs. Validates caller arguments only. Server payloads pass through unchecked — postgres column data is user-defined and shouldn't be gated.
Schema for the :config key passed to channel.
Schema for the `:config` key passed to `channel`.
Schema for the options map passed to connect.
Schema for the options map passed to `connect`.
(ensure-filter binding-type filter)Picks the correct schema for binding-type and validates filter.
Picks the correct schema for `binding-type` and validates `filter`.
(ensure-valid schema value)Returns nil if value matches schema, else an anomaly with the malli
explanation attached.
Returns nil if `value` matches `schema`, else an anomaly with the malli explanation attached.
Schema for a postgres_changes binding filter. :filter is a wire string
(builders are serialized by supabase.realtime/on before validation);
:select narrows the payload columns.
Schema for a postgres_changes binding filter. `:filter` is a wire string (builders are serialized by `supabase.realtime/on` before validation); `:select` narrows the payload columns.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |