parent
fe33e694b7
commit
cbb56e499c
|
@ -8,8 +8,8 @@
|
|||
(not (realm/exists? :contacts :whisper-identity identity)))
|
||||
|
||||
(s/def ::unique-identity unique-identity?)
|
||||
(s/def ::name (s/and ::not-empty-string ::unique-identity))
|
||||
(s/def ::whisper-identity ::not-empty-string)
|
||||
(s/def ::name ::not-empty-string)
|
||||
(s/def ::whisper-identity (s/and ::not-empty-string ::unique-identity))
|
||||
|
||||
(s/def ::contact (s/keys :req-un [::name ::whisper-identity]
|
||||
:opt-un [::phone ::photo-path ::address]))
|
||||
|
|
Loading…
Reference in New Issue