elk/constants/index.ts

17 lines
687 B
TypeScript
Raw Normal View History

2022-11-23 13:06:27 +00:00
export const APP_NAME = 'Elk'
2022-11-15 11:54:07 +00:00
export const DEFAULT_POST_CHARS_LIMIT = 500
2022-11-15 15:48:23 +00:00
export const DEFAULT_SERVER = 'mas.to'
2022-11-23 13:06:27 +00:00
export const STORAGE_KEY_DRAFTS = 'elk-drafts'
export const STORAGE_KEY_USERS = 'elk-users'
2022-11-25 14:21:07 +00:00
export const STORAGE_KEY_SERVERS = 'elk-servers'
2022-11-23 13:06:27 +00:00
export const STORAGE_KEY_CURRENT_USER = 'elk-current-user'
export const STORAGE_KEY_NOTIFY_TAB = 'elk-notify-tab'
2022-11-24 02:38:14 +00:00
export const STORAGE_KEY_FIRST_VISIT = 'elk-first-visit'
2022-11-24 04:21:30 +00:00
export const STORAGE_KEY_ZEN_MODE = 'elk-zenmode'
2022-11-28 07:12:13 +00:00
export const STORAGE_KEY_LANG = 'elk-lang'
2022-11-28 22:57:27 +00:00
export const STORAGE_KEY_FEATURE_FLAGS = 'elk-feature-flags'
export const HANDLED_MASTO_URLS = /^(https?:\/\/)?([\w\d-]+\.)+\w+\/(@[@\w\d-\.]+)(\/objects)?(\/\d+)?$/