Prismatic schema common data schema fragments.
Prismatic schema common data schema fragments.
(author-for-user user)
Extract the author from the JWToken claims or DB user.
Extract the author from the JWToken claims or DB user.
(conn? conn)
Check if a var is a valid RethinkDB connection map/atom.
Check if a var is a valid RethinkDB connection map/atom.
:google-users
map with entries for each Google account.
`:google-users` map with entries for each Google account.
(name-for user)
(name-for first last)
Fn moved to lib.user ns. Here for backwards compatability.
Fn moved to lib.user ns. Here for backwards compatability.
:slack-users
map with entries for each Slack team, keyed by Slack team ID, e.g. :T1N0ASD
`:slack-users` map with entries for each Slack team, keyed by Slack team ID, e.g. `:T1N0ASD`
(unique-id? s)
Is this a 12 character string fragment from a UUID e.g. 51ab-4c86-a474
Is this a 12 character string fragment from a UUID e.g. 51ab-4c86-a474
The portion of JWT properties that we care about for authorship attribution
The portion of JWT properties that we care about for authorship attribution
(uuid-string? s)
Is this string a UUID e.g. ce257963-843b-4dbb-91d3-a96ef6479b81
Is this string a UUID e.g. ce257963-843b-4dbb-91d3-a96ef6479b81
(valid-email-address? email-address)
Return true if this is a valid email address according to the regex, otherwise false.
Return true if this is a valid email address according to the regex, otherwise false.
(valid-email-domain? email-domain)
Return true if this is a valid email domain according to the regex, otherwise false.
Return true if this is a valid email domain according to the regex, otherwise false.
(valid-password? password)
Return true if the password is valid, false if not.
Return true if the password is valid, false if not.
(valid? data-schema value)
Wrap Prismatic Schema's exception throwing validation, returning true or false instead.
Wrap Prismatic Schema's exception throwing validation, returning true or false instead.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close