Liking cljdoc? Tell your friends :D

oc.lib.schema

Prismatic schema common data schema fragments.

Prismatic schema common data schema fragments.
raw docstring

Authorclj

source

author-for-userclj

(author-for-user user)

Extract the author from the JWToken claims or DB user.

Extract the author from the JWToken claims or DB user.
sourceraw docstring

BrandColorclj

source

Colorclj

source

Connclj

source

conn?clj

(conn? conn)

Check if a var is a valid RethinkDB connection map/atom.

Check if a var is a valid RethinkDB connection map/atom.
sourceraw docstring

EmailAddressclj

source

EmailDomainclj

source

google-usersclj

:google-users map with entries for each Google account.

`:google-users` map with entries for each Google account.
sourceraw docstring

hex-color?clj

(hex-color? c)
source

HEXColorclj

source

ISO8601clj

source

name-forclj

(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.
sourceraw docstring

NonBlankStrclj

source

OCBrandColorclj

source

RGBChannelclj

source

RGBColorclj

source

slack-usersclj

: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`
sourceraw docstring

SlackChannelclj

source

SlackThreadclj

source

unique-id?clj

(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
sourceraw docstring

UniqueIDclj

source

Userclj

The portion of JWT properties that we care about for authorship attribution

The portion of JWT properties that we care about for authorship attribution
sourceraw docstring

uuid-string?clj

(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
sourceraw docstring

UUIDStrclj

source

valid-email-address?clj

(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.
sourceraw docstring

valid-email-domain?clj

(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.
sourceraw docstring

valid-password?clj

(valid-password? password)

Return true if the password is valid, false if not.

Return true if the password is valid, false if not.
sourceraw docstring

valid?clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close