mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
📎 Update some docstrings on common/schema ns
This commit is contained in:
parent
749c369080
commit
c578e31ae2
1 changed files with 3 additions and 0 deletions
|
@ -221,6 +221,8 @@
|
||||||
(v/-block "Schema" (v/-visit schema printer) printer)]})
|
(v/-block "Schema" (v/-visit schema printer) printer)]})
|
||||||
|
|
||||||
(defn pretty-explain
|
(defn pretty-explain
|
||||||
|
"A helper that allows print a console-friendly output for the
|
||||||
|
explain; should not be used for other purposes"
|
||||||
[explain & {:keys [variant message]
|
[explain & {:keys [variant message]
|
||||||
:or {variant ::explain
|
:or {variant ::explain
|
||||||
message "Validation Error"}}]
|
message "Validation Error"}}]
|
||||||
|
@ -253,6 +255,7 @@
|
||||||
|
|
||||||
(declare ^:private lazy-schema)
|
(declare ^:private lazy-schema)
|
||||||
|
|
||||||
|
;; DEPRECATED: should not be used for new code
|
||||||
(defn check-fn
|
(defn check-fn
|
||||||
"Create a predefined check function"
|
"Create a predefined check function"
|
||||||
[s]
|
[s]
|
||||||
|
|
Loading…
Add table
Reference in a new issue