99ceaadf8b
* add hosting to first run, enable auto hosting * take welcomeVersion out of sync * app strings fix * recommended view hosting limit * small changes * fixes * appstrings * small fix
57 lines
2.8 KiB
JavaScript
57 lines
2.8 KiB
JavaScript
/* Many SETTINGS are stored in the localStorage by their name -
|
|
be careful about changing the value of a SETTINGS constant, as doing so can invalidate existing SETTINGS */
|
|
export const CREDIT_REQUIRED_ACKNOWLEDGED = 'credit_required_acknowledged';
|
|
export const NEW_USER_ACKNOWLEDGED = 'welcome_acknowledged';
|
|
export const EMAIL_COLLECTION_ACKNOWLEDGED = 'email_collection_acknowledged';
|
|
export const INVITE_ACKNOWLEDGED = 'invite_acknowledged';
|
|
export const LANGUAGE = 'language';
|
|
export const SHOW_MATURE = 'show_mature';
|
|
export const SHOW_ANONYMOUS = 'show_anonymous';
|
|
export const SHOW_UNAVAILABLE = 'show_unavailable';
|
|
export const INSTANT_PURCHASE_ENABLED = 'instant_purchase_enabled';
|
|
export const INSTANT_PURCHASE_MAX = 'instant_purchase_max';
|
|
export const THEME = 'theme';
|
|
export const THEMES = 'themes';
|
|
export const AUTOMATIC_DARK_MODE_ENABLED = 'automatic_dark_mode_enabled';
|
|
export const CLOCK_24H = 'clock_24h';
|
|
export const AUTOPLAY_MEDIA = 'autoplay';
|
|
export const AUTOPLAY_NEXT = 'autoplay_next';
|
|
export const OS_NOTIFICATIONS_ENABLED = 'os_notifications_enabled';
|
|
export const AUTO_DOWNLOAD = 'auto_download';
|
|
export const AUTO_LAUNCH = 'auto_launch';
|
|
export const HIDE_BALANCE = 'hide_balance';
|
|
export const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
|
|
export const FLOATING_PLAYER = 'floating_player';
|
|
export const DARK_MODE_TIMES = 'dark_mode_times';
|
|
export const ENABLE_SYNC = 'enable_sync';
|
|
export const TO_TRAY_WHEN_CLOSED = 'to_tray_when_closed';
|
|
export const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
|
|
export const DESKTOP_WINDOW_ZOOM = 'desktop_window_zoom';
|
|
export const SHOW_NSFW = 'showNsfw';
|
|
export const FIRST_RUN_STARTED = 'first_run_started';
|
|
export const FOLLOWING_ACKNOWLEDGED = 'following_acknowledged';
|
|
export const TAGS_ACKNOWLEDGED = 'tags_acknowledged';
|
|
export const REWARDS_ACKNOWLEDGED = 'rewards_acknowledged';
|
|
export const SEARCH_IN_LANGUAGE = 'search_in_language';
|
|
export const HOMEPAGE = 'homepage';
|
|
export const HIDE_REPOSTS = 'hide_reposts';
|
|
export const PERSIST_WATCH_TIME = 'persist_watch_time';
|
|
export const SUPPORT_OPTION = 'support_option';
|
|
export const TILE_LAYOUT = 'tile_layout';
|
|
export const VIDEO_THEATER_MODE = 'video_theater_mode';
|
|
export const VIDEO_PLAYBACK_RATE = 'video_playback_rate';
|
|
export const CUSTOM_COMMENTS_SERVER_ENABLED = 'custom_comments_server_enabled';
|
|
export const CUSTOM_COMMENTS_SERVER_URL = 'custom_comments_server_url';
|
|
export const CUSTOM_COMMENTS_SERVERS = 'custom_comments_servers';
|
|
export const CUSTOM_SHARE_URL_ENABLED = 'custom_share_url_enabled';
|
|
export const CUSTOM_SHARE_URL = 'custom_share_url';
|
|
export const ENABLE_PRERELEASE_UPDATES = 'enable_prerelease_updates';
|
|
export const DISABLE_AUTO_UPDATES = 'disable_auto_updates';
|
|
|
|
export const SETTINGS_GRP = {
|
|
APPEARANCE: 'appearance',
|
|
ACCOUNT: 'account',
|
|
CONTENT: 'content',
|
|
SYSTEM: 'system',
|
|
STORAGE: 'Storage',
|
|
};
|