1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
elk/constants/index.ts

23 lines
1.1 KiB
TypeScript
Raw Normal View History

2022-11-23 22:06:27 +09:00
export const APP_NAME = 'Elk'
2022-11-15 20:54:07 +09:00
export const DEFAULT_POST_CHARS_LIMIT = 500
2022-11-16 00:48:23 +09:00
export const DEFAULT_SERVER = 'mas.to'
2022-11-23 22:06:27 +09:00
export const STORAGE_KEY_DRAFTS = 'elk-drafts'
export const STORAGE_KEY_USERS = 'elk-users'
2022-11-25 23:21:07 +09:00
export const STORAGE_KEY_SERVERS = 'elk-servers'
2022-11-23 22:06:27 +09:00
export const STORAGE_KEY_CURRENT_USER = 'elk-current-user'
export const STORAGE_KEY_NOTIFY_TAB = 'elk-notify-tab'
2022-11-24 11:38:14 +09:00
export const STORAGE_KEY_FIRST_VISIT = 'elk-first-visit'
2022-11-24 13:21:30 +09:00
export const STORAGE_KEY_ZEN_MODE = 'elk-zenmode'
2022-11-28 16:12:13 +09:00
export const STORAGE_KEY_LANG = 'elk-lang'
2022-12-24 07:47:13 +09:00
export const STORAGE_KEY_FONT_SIZE = 'elk-font-size'
2022-11-29 07:57:27 +09:00
export const STORAGE_KEY_FEATURE_FLAGS = 'elk-feature-flags'
2022-12-11 19:52:36 +09: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+)?$/