parent
f328e95f4e
commit
b80f5f3c40
@ -1,4 +1,4 @@
|
||||
(ns wanijo.attribute.domain
|
||||
(ns wanijo.attribute.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.specs :as specs]
|
||||
[wanijo.framework.neo4j :as neo4j]))
|
@ -1,18 +0,0 @@
|
||||
(ns wanijo.frontend.core
|
||||
(:require
|
||||
[reagent.core :as r]))
|
||||
|
||||
;; -------------------------
|
||||
;; Views
|
||||
|
||||
(defn home-page []
|
||||
[:div [:h2 "Welcome to Reagent ummf"]])
|
||||
|
||||
;; -------------------------
|
||||
;; Initialize app
|
||||
|
||||
(defn mount-root []
|
||||
(r/render [home-page] (.getElementById js/document "visualisation")))
|
||||
|
||||
(defn init! []
|
||||
(mount-root))
|
@ -1,11 +1,11 @@
|
||||
(ns wanijo.instance.domain
|
||||
(ns wanijo.instance.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.specs :as specs]
|
||||
[wanijo.framework.neo4j :as neo4j]
|
||||
[wanijo.schema.domain :as domain-schema]
|
||||
[wanijo.attribute.domain :as domain-attr]
|
||||
[wanijo.tag.domain :as domain-tag]
|
||||
[wanijo.link.domain :as domain-link]))
|
||||
[wanijo.schema.db :as domain-schema]
|
||||
[wanijo.attribute.db :as domain-attr]
|
||||
[wanijo.tag.db :as domain-tag]
|
||||
[wanijo.link.db :as domain-link]))
|
||||
|
||||
(spec/def ::instance
|
||||
(spec/keys :req-un [::neo4j/uuid
|
@ -1,4 +1,4 @@
|
||||
(ns wanijo.link.domain
|
||||
(ns wanijo.link.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.specs :as specs]
|
||||
[wanijo.framework.neo4j :as neo4j]))
|
@ -1,4 +1,4 @@
|
||||
(ns wanijo.schema.domain
|
||||
(ns wanijo.schema.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.specs :as specs]
|
||||
[wanijo.framework.neo4j :as neo4j]))
|
@ -1,4 +1,4 @@
|
||||
(ns wanijo.tag.domain
|
||||
(ns wanijo.tag.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.specs :as specs]
|
||||
[wanijo.framework.neo4j :as neo4j]))
|
@ -1,4 +1,4 @@
|
||||
(ns wanijo.user.domain
|
||||
(ns wanijo.user.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.framework.neo4j :as neo4j]))
|
||||
|
@ -1,7 +1,7 @@
|
||||
(ns wanijo.visualisation.domain
|
||||
(ns wanijo.visualisation.db
|
||||
(:require [clojure.spec.alpha :as spec]
|
||||
[wanijo.framework.neo4j :as neo4j]
|
||||
[wanijo.instance.domain :as domain-instance]))
|
||||
[wanijo.instance.db :as domain-instance]))
|
||||
|
||||
(spec/def ::link-name
|
||||
(spec/or :not-give nil?
|
Loading…
Reference in new issue