(ns gd-edit.globals
  (:require [clojure.core.async :as async]))

(def menu-stack (atom []))

;; Notification channel for the repl
(def notification-chan (async/chan))

(def db (atom {}))
(def db-index (atom {}))
(def localization-table (atom {}))
(def db-and-index (atom {}))

(def query-state
  (atom {:query-string nil
         :result nil
         :page 0
         :pagination-size 10}))

(def ^:dynamic character (atom {}))
(def last-loaded-character (atom{}))

(def settings (atom {}))

(def transfer-stash (atom {}))

(def shrines-and-gates (atom {}))
(def shrines-and-gates-index (atom {}))

 Notification channel for the repl
(ns gd-edit.globals
  (:require [clojure.core.async :as async]))

(def menu-stack (atom []))

(def notification-chan (async/chan))

(def db (atom {}))
(def db-index (atom {}))
(def localization-table (atom {}))
(def db-and-index (atom {}))

(def query-state
  (atom {:query-string nil
         :result nil
         :page 0
         :pagination-size 10}))

(def ^:dynamic character (atom {}))
(def last-loaded-character (atom{}))

(def settings (atom {}))

(def transfer-stash (atom {}))

(def shrines-and-gates (atom {}))
(def shrines-and-gates-index (atom {}))
