2015-12-13 21:49:54 +00:00
|
|
|
(ns $PROJECT_NAME_HYPHENATED$.db
|
2016-07-24 22:06:55 +00:00
|
|
|
(:require [cljs.spec :as s]))
|
2015-12-13 21:49:54 +00:00
|
|
|
|
2016-07-24 22:06:55 +00:00
|
|
|
;; spec of app-db
|
|
|
|
(s/def ::greeting string?)
|
|
|
|
(s/def ::app-db
|
|
|
|
(s/keys :req-un [::greeting]))
|
2015-12-13 21:49:54 +00:00
|
|
|
|
|
|
|
;; initial state of app-db
|
|
|
|
(def app-db {:greeting "Hello Clojure in iOS and Android!"})
|