Implement function defs for keys

Using the keys for validation in browser.cljs will convert the map
in the input field to a vector, causing the spec to fail in the browser.
pull/1/head
erik 11 months ago
parent 4d6af0e13f
commit a0698750e3

@ -51,6 +51,10 @@
(s/def ::auth (s/coll-of websiteauth?))
(def websites? (s/keys :req-un [::websites]))
(def auth? (s/keys :req-un [::auth]))
(defn-spec get-hash-from-sha256sum-output string?
[sha256sum-output string?]
(if (nil? sha256sum-output)

Loading…
Cancel
Save