commit 00861c6d6cc14be72bec24d8c853e60cb5483ed2 Author: niten Date: Tue Apr 11 06:13:39 2023 -0700 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b9f7c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +.idea +*.log +tmp/ + +.cpcache/ +.nrepl-port +target/ +result diff --git a/deps.edn b/deps.edn new file mode 100644 index 0000000..5af2e28 --- /dev/null +++ b/deps.edn @@ -0,0 +1,21 @@ +{ + :paths ["src"] + :deps { + org.clojure/clojure { :mvn/version "1.11.1" } + org.clojure/data.json { :mvn/version "2.4.0" } + org.clojure/core.async { :mvn/version "1.6.673" } + slingshot/slingshot { :mvn/version "0.12.2" } + ring/ring-jetty-adapter { :mvn/version "1.9.6" } + metosin/reitit { :mvn/version "0.5.5" } + + org.fudo/fudo-clojure { + :git/url "https://git.fudo.org/fudo-public/fudo-clojure.git" + :git/sha "2352892ad7d7cf7c6bd294005a28d55ef224862a" + } + + org.fudo/milquetoast { + :git/url "https://git.fudo.org/fudo-public/milquetoast.git" + :git/sha "ae81b91f0c710632f55b43f0193e16ab0dd81dde" + } + } + } diff --git a/src/suanni/eyes.clj b/src/suanni/eyes.clj new file mode 100644 index 0000000..155113a --- /dev/null +++ b/src/suanni/eyes.clj @@ -0,0 +1,6 @@ +(ns suanni.eyes) + +(defprotocol SuanniEyes + (get-snapshot! [self camera]) + (get-cameras! [self]) + (get-camera-by-location! [self loc])) diff --git a/src/suanni/syno_eyes.clj b/src/suanni/syno_eyes.clj new file mode 100644 index 0000000..6a5f871 --- /dev/null +++ b/src/suanni/syno_eyes.clj @@ -0,0 +1,2 @@ +(ns suanni.syno-eyes + (:require [suanni.eyes :refer [SuanniEyes]]))