Skip to content

Commit

Permalink
feat: Add elin.schema.component
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz committed Jan 24, 2024
1 parent 639bbbe commit 5ec2b4e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/elin/schema/component.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(ns elin.schema.component
(:require
[elin.util.schema :as e.u.schema]))

(def ?Atom
(e.u.schema/?instance clojure.lang.Atom))

(def ?Interceptor
[:map
[:manager ?Atom]])

(def ?Nrepl
[:map
[:interceptor ?Interceptor]
[:clients-store ?Atom]
[:current-client-key-store ?Atom]
[:writer-store ?Atom]])

0 comments on commit 5ec2b4e

Please sign in to comment.