From f846cb8a9218625dcb33ab52a889d387e763e070 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Tue, 11 Jul 2017 10:30:06 +0300 Subject: [PATCH] fixes specs --- src/status_im/accounts/specs.cljs | 2 +- src/status_im/chat/specs.cljs | 4 ++- src/status_im/discover/specs.cljs | 3 +- src/status_im/specs.cljs | 59 ++++++++++++++++--------------- 4 files changed, 37 insertions(+), 31 deletions(-) diff --git a/src/status_im/accounts/specs.cljs b/src/status_im/accounts/specs.cljs index 4b2788b69f..3f6ad49cda 100644 --- a/src/status_im/accounts/specs.cljs +++ b/src/status_im/accounts/specs.cljs @@ -5,5 +5,5 @@ (s/def :accounts/account-creation? (s/nilable boolean?)) ;;true during creating new account (s/def :accounts/creating-account? boolean?) ;;what is the difference ? ^ (s/def :accounts/current-account-id (s/nilable string?)) ;;id of logged in account -(s/def :accounts/recover map?) ;;used during recovering account +(s/def :accounts/recover (s/nilable map?)) ;;used during recovering account (s/def :accounts/login map?) ;;used during logging \ No newline at end of file diff --git a/src/status_im/chat/specs.cljs b/src/status_im/chat/specs.cljs index bff592edf3..316081dd46 100644 --- a/src/status_im/chat/specs.cljs +++ b/src/status_im/chat/specs.cljs @@ -27,4 +27,6 @@ (s/def :chat/loaded-chats seq?) (s/def :chat/bot-subscriptions map?) (s/def :chat/new-request map?) -(s/def :chat/raw-unviewed-messages vector?) \ No newline at end of file +(s/def :chat/raw-unviewed-messages vector?) +(s/def :chat/bot-db map?) +(s/def :chat/geolocation map?) \ No newline at end of file diff --git a/src/status_im/discover/specs.cljs b/src/status_im/discover/specs.cljs index 7c88f6adb3..7a05698e25 100644 --- a/src/status_im/discover/specs.cljs +++ b/src/status_im/discover/specs.cljs @@ -5,4 +5,5 @@ (s/def :discoveries/discover-search-tags seq?) (s/def :discoveries/tags vector?) (s/def :discoveries/current-tag map?) -(s/def :discoveries/request-discoveries-timer int?) \ No newline at end of file +(s/def :discoveries/request-discoveries-timer int?) +(s/def :discoveries/new-discover map?) \ No newline at end of file diff --git a/src/status_im/specs.cljs b/src/status_im/specs.cljs index 7cb51c293b..8035642325 100644 --- a/src/status_im/specs.cljs +++ b/src/status_im/specs.cljs @@ -80,33 +80,35 @@ :group/contacts-group :group/selected-contacts :group/groups-order - :chats/chats - :chats/current-chat-id - :chats/chat-id - :chats/new-chat - :chats/new-chat-name - :chats/chat-animations - :chats/chat-ui-props - :chats/chat-list-ui-props - :chats/layout-height - :chats/expandable-view-height-to-value - :chats/global-commands - :chats/loading-allowed - :chats/message-data - :chats/message-id->transaction-id - :chats/message-status - :chats/unviewed-messages - :chats/selected-participants - :chats/chat-loaded-callbacks - :chats/commands-callbacks - :chats/command-hash-valid? - :chats/public-group-topic - :chats/confirmation-code-sms-listener - :chats/messages - :chats/loaded-chats - :chats/bot-subscriptions - :chats/new-request - :chats/raw-unviewed-messages + :chat/chats + :chat/current-chat-id + :chat/chat-id + :chat/new-chat + :chat/new-chat-name + :chat/chat-animations + :chat/chat-ui-props + :chat/chat-list-ui-props + :chat/layout-height + :chat/expandable-view-height-to-value + :chat/global-commands + :chat/loading-allowed + :chat/message-data + :chat/message-id->transaction-id + :chat/message-status + :chat/unviewed-messages + :chat/selected-participants + :chat/chat-loaded-callbacks + :chat/commands-callbacks + :chat/command-hash-valid? + :chat/public-group-topic + :chat/confirmation-code-sms-listener + :chat/messages + :chat/loaded-chats + :chat/bot-subscriptions + :chat/new-request + :chat/raw-unviewed-messages + :chat/bot-db + :chat/geolocation :profile/profile-edit :transactions/transactions :transactions/transactions-queue @@ -121,4 +123,5 @@ :discoveries/discover-search-tags :discoveries/tags :discoveries/current-tag - :discoveries/request-discoveries-timer])) + :discoveries/request-discoveries-timer + :discoveries/new-discover]))