export const LOCAL_STORAGE_KEY = 'dumpster_content'; export const ROOT_KEY = 'root'; export const BASE_POS = 100000; export const DB_NAME = 'deepnotes'; export const BLOCKS_TABLE_NAME = 'blocks'; export const DROPBOX_AUTOSAVE_PREF_KEY = 'DROPBOX_AUTOSAVE_PREF_KEY'; export const USER_PREF_SHOW_KEYBOARD_SHORTCUT_PANEL = 'USER_PREF_SHOW_KEYBOARD_SHORTCUT_PANEL'; export const USER_PREF_SHOW_SIDEBAR = 'USER_PREF_SHOW_SIDEBAR'; export const USER_PREF_THEME = 'USER_PREF_THEME'; export const MAX_DEPTH = 1000; export const THEME_DARK = 'theme-dark'; export const THEME_LIGHT = 'theme-light'; // i came to the 250 millisecond value by trial and error. The search // responsiveness still fill a little slow but if i reduce it further, there // will be to much rerender of the whole editor export const SEARCH_DEBOUNCE = 250;