elk/constants/index.ts

23 lines
1.1 KiB
TypeScript
Raw Normal View History

2022-11-23 14:06:27 +01:00
export const APP_NAME = 'Elk'
2022-11-15 12:54:07 +01:00
export const DEFAULT_POST_CHARS_LIMIT = 500
2022-11-15 16:48:23 +01:00
export const DEFAULT_SERVER = 'mas.to'
2022-11-23 14:06:27 +01:00
export const STORAGE_KEY_DRAFTS = 'elk-drafts'
export const STORAGE_KEY_USERS = 'elk-users'
2022-11-25 15:21:07 +01:00
export const STORAGE_KEY_SERVERS = 'elk-servers'
2022-11-23 14:06:27 +01:00
export const STORAGE_KEY_CURRENT_USER = 'elk-current-user'
export const STORAGE_KEY_NOTIFY_TAB = 'elk-notify-tab'
2022-11-24 03:38:14 +01:00
export const STORAGE_KEY_FIRST_VISIT = 'elk-first-visit'
2022-11-24 05:21:30 +01:00
export const STORAGE_KEY_ZEN_MODE = 'elk-zenmode'
2022-11-28 08:12:13 +01:00
export const STORAGE_KEY_LANG = 'elk-lang'
2022-12-23 23:47:13 +01:00
export const STORAGE_KEY_FONT_SIZE = 'elk-font-size'
2022-11-28 23:57:27 +01:00
export const STORAGE_KEY_FEATURE_FLAGS = 'elk-feature-flags'
2022-12-11 11:52:36 +01:00
export const STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS = 'elk-hide-explore-posts-tips'
export const STORAGE_KEY_HIDE_EXPLORE_NEWS_TIPS = 'elk-hide-explore-news-tips'
export const STORAGE_KEY_HIDE_EXPLORE_TAGS_TIPS = 'elk-hide-explore-tags-tips'
export const STORAGE_KEY_NOTIFICATION = 'elk-notification'
export const STORAGE_KEY_NOTIFICATION_POLICY = 'elk-notification-policy'
export const HANDLED_MASTO_URLS = /^(https?:\/\/)?([\w\d-]+\.)+\w+\/(@[@\w\d-\.]+)(\/objects)?(\/\d+)?$/