From 5ec2b4ea46603f71c857ab2e9900e78d4ab06141 Mon Sep 17 00:00:00 2001 From: liquidz Date: Wed, 24 Jan 2024 21:56:18 +0900 Subject: [PATCH] feat: Add elin.schema.component --- src/elin/schema/component.clj | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/elin/schema/component.clj diff --git a/src/elin/schema/component.clj b/src/elin/schema/component.clj new file mode 100644 index 00000000..7a797622 --- /dev/null +++ b/src/elin/schema/component.clj @@ -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]])