(ns frontend.search.protocol)

(defprotocol Engine
  (query [this q option])
  (cache-stale? [this repo])
  (rebuild-blocks-indice! [this])
  (transact-blocks! [this data])
  (truncate-blocks! [this])
  (remove-db! [this]))
