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

source

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

BaseClaimsclj/s

source

BrandColorclj/s

source

Claimsclj/s

Generic claims schema that accept every old jwt plus the new optional keys.

Generic claims schema that accept every old jwt plus the new optional keys.
sourceraw docstring

Colorclj/s

source

Connclj/s

source

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

CreatedAtclj/s

source

EmailAddressclj/s

source

EmailDomainclj/s

source

GoogleTokenclj/s

source

GoogleUsersclj/s

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

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

hex-color?clj/s

(hex-color? c)
source

HEXColorclj/s

source

ISO8601clj/s

source

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

NonBlankStrclj/s

source

NotExpiredclj/s

source

o-kclj/s

source

OCBrandColorclj/s

source

PremiumTeamsclj/s

source

r-kclj/s

source

RGBChannelclj/s

source

RGBColorclj/s

source

SlackBotKeyclj/s

source

SlackBotMapclj/s

source

SlackBotsclj/s

source

SlackBotValueclj/s

source

SlackChannelclj/s

source

SlackThreadclj/s

source

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

unique-id-reg-exclj/s

source

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

UniqueIDclj/s

source

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

UUIDStrclj/s

source

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

ValidJWTClaimsclj/s

Represent a valid, non expired, complete JWToken.

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

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

× close