(customer-token->wire token)
Inputs: [token :- s/Str] Returns: wire.out.customer/CustomerToken
Inputs: [token :- s/Str] Returns: wire.out.customer/CustomerToken
(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
(internal-role->wire-role wire-role)
Inputs: [wire-role :- s/Keyword] Returns: s/Str
Inputs: [wire-role :- s/Keyword] Returns: s/Str
(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
(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
(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
(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
(wire->internal-role wire-role)
Inputs: [wire-role :- s/Str] Returns: s/Keyword
Inputs: [wire-role :- s/Str] Returns: s/Keyword
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close