[refactor] remove jail-loaded? and jail-loaded-events
This commit is contained in:
parent
009d974d83
commit
4804d11b0f
|
@ -29,8 +29,6 @@
|
||||||
(spec/def :contact/bot-url (spec/nilable string?))
|
(spec/def :contact/bot-url (spec/nilable string?))
|
||||||
(spec/def :contact/command (spec/nilable (spec/map-of int? map?)))
|
(spec/def :contact/command (spec/nilable (spec/map-of int? map?)))
|
||||||
(spec/def :contact/response (spec/nilable (spec/map-of int? map?)))
|
(spec/def :contact/response (spec/nilable (spec/map-of int? map?)))
|
||||||
(spec/def :contact/jail-loaded? (spec/nilable boolean?))
|
|
||||||
(spec/def :contact/jail-loaded-events (spec/nilable seq?))
|
|
||||||
(spec/def :contact/subscriptions (spec/nilable map?))
|
(spec/def :contact/subscriptions (spec/nilable map?))
|
||||||
;;true when contact added using status-dev-cli
|
;;true when contact added using status-dev-cli
|
||||||
(spec/def :contact/debug? boolean?)
|
(spec/def :contact/debug? boolean?)
|
||||||
|
@ -51,8 +49,6 @@
|
||||||
:contact/dapp-url
|
:contact/dapp-url
|
||||||
:contact/dapp-hash
|
:contact/dapp-hash
|
||||||
:contact/bot-url
|
:contact/bot-url
|
||||||
:contact/jail-loaded?
|
|
||||||
:contact/jail-loaded-events
|
|
||||||
:contact/command
|
:contact/command
|
||||||
:contact/response
|
:contact/response
|
||||||
:contact/debug?
|
:contact/debug?
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
(fn [realm]
|
(fn [realm]
|
||||||
(core/create realm
|
(core/create realm
|
||||||
:contact
|
:contact
|
||||||
(dissoc contact :command :response :subscriptions :jail-loaded-events)
|
(dissoc contact :command :response :subscriptions)
|
||||||
true)))
|
true)))
|
||||||
|
|
||||||
(defn save-contacts-tx
|
(defn save-contacts-tx
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
:hide-contact? false,
|
:hide-contact? false,
|
||||||
:address nil,
|
:address nil,
|
||||||
:name "Demo bot",
|
:name "Demo bot",
|
||||||
:jail-loaded? true,
|
|
||||||
:fcm-token nil,
|
:fcm-token nil,
|
||||||
:dapp-url nil,
|
:dapp-url nil,
|
||||||
:dapp-hash nil,
|
:dapp-hash nil,
|
||||||
|
|
Loading…
Reference in New Issue