status-react/test/cljs/status_im/react_native/js_dependencies.cljs

58 lines
2.6 KiB
Plaintext
Raw Normal View History

2017-07-16 09:04:35 +00:00
(ns status-im.react-native.js-dependencies)
2019-05-22 05:50:49 +00:00
(def action-button (fn [] #js {:default #js {:Item #js {}}}))
(def config (fn [] #js {:default #js {}}))
(def camera (fn [] #js {:default #js {:constants #js {}}}))
(def dialogs (fn [] #js {}))
(def dismiss-keyboard (fn [] #js {}))
(def emoji-picker (fn [] #js {:default #js {}}))
(def fs (fn [] #js {}))
(def http-bridge (fn [] #js {}))
(def i18n #js {:locale "en"})
(def react-native-languages #js {:language "en", :addEventListener (fn []), :removeEventListener (fn [])})
2019-05-22 05:50:49 +00:00
(def image-crop-picker (fn [] #js {}))
(def image-resizer (fn [] #js {}))
(def qr-code (fn [] #js {}))
2017-07-16 09:04:35 +00:00
(def react-native
#js {:NativeModules #js {}
:Animated #js {:View #js {}
:Text #js {}}
:DeviceEventEmitter #js {:addListener (fn [])}
:Dimensions #js {:get (fn [])}})
2017-07-16 09:04:35 +00:00
(def realm #js {:schemaVersion (fn [])
:defaultPath "/tmp/realm"
2017-07-16 09:04:35 +00:00
:close (fn [])})
2019-05-22 05:50:49 +00:00
(def vector-icons (fn [] #js {:default #js {}}))
(def webview-bridge (fn [] #js {:default #js {}}))
(def webview (fn [] #js {:WebView #js {}}))
(def touchid (fn [] #js {}))
2019-05-22 05:50:49 +00:00
(def svg (fn [] #js {:default #js {}}))
(def status-keycard (fn [] #js {:default #js {}}))
(defrecord Notification [])
2019-05-22 05:50:49 +00:00
(def react-native-firebase (fn [] #js {:default #js {:notifications #js {:Notification Notification}}}))
2017-07-16 09:04:35 +00:00
(def desktop-linking #js {:addEventListener (fn [])})
(def desktop-shortcuts #js {:addEventListener (fn [])})
2019-05-22 05:50:49 +00:00
(def snoopy (fn [] #js {:default #js {}}))
(def snoopy-filter (fn [] #js {:default #js {}}))
(def snoopy-bars (fn [] #js {:default #js {}}))
(def snoopy-buffer (fn [] #js {:default #js {}}))
2019-05-22 05:50:49 +00:00
(def fetch (fn [] #js {}))
2019-05-22 05:50:49 +00:00
(def background-timer (fn [] #js {:setTimeout js/setTimeout
:setInterval js/setInterval
:clearTimeout js/clearTimeout
:clearInterval js/clearInterval}))
(def keychain (fn [] #js {:setGenericPassword (constantly (.resolve js/Promise true))}))
(def secure-random (fn [] #(.resolve js/Promise (clj->js (range 0 %)))))
2018-08-22 16:16:32 +00:00
(def react-navigation #js {:NavigationActions #js {}})
2019-01-13 18:30:34 +00:00
(def desktop-menu #js {})
(def desktop-config #js {})
2019-05-22 05:50:49 +00:00
(def react-native-mail (fn [] #js {:mail #js {}}))
(def react-native-navigation-twopane #js {})
2019-01-13 18:30:34 +00:00