Liking cljdoc? Tell your friends :D

oc.lib.schema

Prismatic schema common data schema fragments.

Prismatic schema common data schema fragments.
raw docstring

Authorclj/s


author-for-userclj/s

(author-for-user user)

Extract the author from the JWToken claims or DB user.

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

BaseClaimsclj/s


BrandColorclj/s


Claimsclj/s

Generic claims schema that accept every old jwt, adds optional eys

Generic claims schema that accept every old jwt, adds optional eys
raw docstring

Colorclj/s


Connclj/s


conn?clj/s

(conn? conn)

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

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

CreatedAtclj/s


EmailAddressclj/s


EmailDomainclj/s


GoogleTokenclj/s


GoogleUsersclj/s

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

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

hex-color?clj/s

(hex-color? c)

HEXColorclj/s


ISO8601clj/s


name-forclj/s

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

NonBlankStrclj/s


NotExpiredclj/s


o-kclj/s


OCBrandColorclj/s


PremiumTeamsclj/s


r-kclj/s


RGBChannelclj/s


RGBColorclj/s


SlackBotclj/s


SlackBotsclj/s


SlackChannelclj/s


SlackThreadclj/s


SlackUsersclj/s

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

unique-id?clj/s

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

UniqueIDclj/s


Userclj/s

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

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

uuid-string?clj/s

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

UUIDStrclj/s


valid-email-address?clj/s

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

valid-email-domain?clj/s

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

valid-password?clj/s

(valid-password? password)

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

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

valid?clj/s

(valid? schema-def 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.
raw docstring

ValidJWTClaimsclj/s

Represent a valid, non expired, complete JWToken.

Represent a valid, non expired, complete JWToken.
raw docstring

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

× close