10 lines
307 B
Clojure
10 lines
307 B
Clojure
|
(ns shapey-shifty.context.core
|
||
|
(:require [clojure.spec.alpha :as s]
|
||
|
[shapey-shifty.posts.core :as posts]
|
||
|
[shapey-shifty.index.index :as index]))
|
||
|
|
||
|
(s/def ::posts (s/coll-of :posts/post))
|
||
|
(s/def ::index :index/index)
|
||
|
|
||
|
(s/def ::context (s/keys :req [::posts ::current-time ::index]))
|