Liking cljdoc? Tell your friends :D

porteiro-component.adapters.customers


customer-token->wireclj

(customer-token->wire token)

Inputs: [token :- s/Str] Returns: wire.out.customer/CustomerToken

Inputs: [token :- s/Str]
Returns: wire.out.customer/CustomerToken
sourceraw docstring

internal->wireclj

(internal->wire {:customer/keys [id username roles name] :or {roles []}})

Inputs: [{:customer/keys [id username roles name], :or {roles []}} :- models.customer/Customer] Returns: wire.out.customer/Customer

Inputs: [{:customer/keys [id username roles name], :or {roles []}} :- models.customer/Customer]
Returns: wire.out.customer/Customer
sourceraw docstring

internal-role->wire-roleclj

(internal-role->wire-role wire-role)

Inputs: [wire-role :- s/Keyword] Returns: s/Str

Inputs: [wire-role :- s/Keyword]
Returns: s/Str
sourceraw docstring

postgresql->internalclj

(postgresql->internal {:keys [id username roles name hashed_password]})

Inputs: [{:keys [id username roles name hashed_password]}] Returns: models.customer/Customer

Inputs: [{:keys [id username roles name hashed_password]}]
Returns: models.customer/Customer
sourceraw docstring

sqlite->internalclj

(sqlite->internal {:customers/keys [id username name hashed_password]} roles)

Inputs: [#:customers{:keys [id username name hashed_password]} roles :- [models.role/Role]] Returns: models.customer/Customer

Inputs: [#:customers{:keys [id username name hashed_password]} roles :- [models.role/Role]]
Returns: models.customer/Customer
sourceraw docstring

wire->internalclj

(wire->internal {:keys [username password name]})

Inputs: [{:keys [username password name]} :- wire.in.customer/Customer] Returns: models.customer/Customer

Inputs: [{:keys [username password name]} :- wire.in.customer/Customer]
Returns: models.customer/Customer
sourceraw docstring

wire->internal-customer-authenticationclj

(wire->internal-customer-authentication {:keys [username password]})

Inputs: [{:keys [username password]} :- wire.in.customer/CustomerAuthentication] Returns: models.customer/CustomerAuthentication

Inputs: [{:keys [username password]} :- wire.in.customer/CustomerAuthentication]
Returns: models.customer/CustomerAuthentication
sourceraw docstring

wire->internal-roleclj

(wire->internal-role wire-role)

Inputs: [wire-role :- s/Str] Returns: s/Keyword

Inputs: [wire-role :- s/Str]
Returns: s/Keyword
sourceraw docstring

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

× close