2022-11-23 13:06:27 +00:00
|
|
|
export const APP_NAME = 'Elk'
|
2022-11-15 11:54:07 +00:00
|
|
|
|
2022-11-25 14:01:28 +00:00
|
|
|
export const DEFAULT_POST_CHARS_LIMIT = 500
|
2022-12-29 20:08:50 +00:00
|
|
|
export const DEFAULT_FONT_SIZE = 'md'
|
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'
|
2023-01-06 17:39:37 +00:00
|
|
|
export const STORAGE_KEY_SETTINGS = 'elk-settings'
|
2022-12-23 22:56:16 +00:00
|
|
|
export const STORAGE_KEY_CUSTOM_EMOJIS = 'elk-custom-emojis'
|
2022-12-11 10:52:36 +00: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'
|
2022-12-17 23:29:16 +00:00
|
|
|
export const STORAGE_KEY_NOTIFICATION = 'elk-notification'
|
|
|
|
export const STORAGE_KEY_NOTIFICATION_POLICY = 'elk-notification-policy'
|
2023-01-07 15:27:09 +00:00
|
|
|
export const STORAGE_KEY_LAST_SCROLL_POSITION = 'elk-last-scroll-position'
|
2022-12-01 22:59:08 +00:00
|
|
|
|
2022-12-28 01:28:17 +00:00
|
|
|
export const COOKIE_MAX_AGE = 10 * 365 * 24 * 60 * 60 * 1000
|
|
|
|
|
2022-12-28 01:06:54 +00:00
|
|
|
export const COOKIE_KEY_FONT_SIZE = 'elk-font-size'
|
|
|
|
export const COOKIE_KEY_COLOR_MODE = 'elk-color-mode'
|
2023-01-06 17:39:37 +00:00
|
|
|
export const COOKIE_KEY_LOCALE = 'elk-lang'
|
2022-12-28 01:06:54 +00:00
|
|
|
|
2022-12-01 22:59:08 +00:00
|
|
|
export const HANDLED_MASTO_URLS = /^(https?:\/\/)?([\w\d-]+\.)+\w+\/(@[@\w\d-\.]+)(\/objects)?(\/\d+)?$/
|