2017-12-21 18:32:51 +01:00
|
|
|
/* 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';
|
2019-01-27 01:23:47 +01:00
|
|
|
export const INVITE_ACKNOWLEDGED = 'invite_acknowledged';
|
2017-12-21 18:32:51 +01:00
|
|
|
export const LANGUAGE = 'language';
|
2019-09-17 20:49:03 +02:00
|
|
|
export const SHOW_MATURE = 'show_mature';
|
2019-10-08 18:25:33 +02:00
|
|
|
export const SHOW_ANONYMOUS = 'show_anonymous';
|
2019-09-17 20:49:03 +02:00
|
|
|
export const SHOW_UNAVAILABLE = 'show_unavailable';
|
|
|
|
export const INSTANT_PURCHASE_ENABLED = 'instant_purchase_enabled';
|
|
|
|
export const INSTANT_PURCHASE_MAX = 'instant_purchase_max';
|
2017-12-21 18:32:51 +01:00
|
|
|
export const THEME = 'theme';
|
|
|
|
export const THEMES = 'themes';
|
2019-09-17 20:49:03 +02:00
|
|
|
export const AUTOMATIC_DARK_MODE_ENABLED = 'automatic_dark_mode_enabled';
|
2021-04-03 07:26:05 +02:00
|
|
|
export const CLOCK_24H = 'clock_24h';
|
2021-09-02 22:05:32 +02:00
|
|
|
export const AUTOPLAY_MEDIA = 'autoplay';
|
2021-09-06 19:33:53 +02:00
|
|
|
export const AUTOPLAY_NEXT = 'autoplay_next';
|
2019-09-17 20:49:03 +02:00
|
|
|
export const OS_NOTIFICATIONS_ENABLED = 'os_notifications_enabled';
|
|
|
|
export const AUTO_DOWNLOAD = 'auto_download';
|
2019-11-18 19:30:15 +01:00
|
|
|
export const AUTO_LAUNCH = 'auto_launch';
|
2019-09-17 20:49:03 +02:00
|
|
|
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';
|
2019-09-26 18:28:08 +02:00
|
|
|
export const ENABLE_SYNC = 'enable_sync';
|
2020-08-13 18:57:00 +02:00
|
|
|
export const TO_TRAY_WHEN_CLOSED = 'to_tray_when_closed';
|
2020-08-11 11:54:09 +02:00
|
|
|
export const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
|
2021-01-26 06:17:42 +01:00
|
|
|
export const DESKTOP_WINDOW_ZOOM = 'desktop_window_zoom';
|
2021-10-17 10:36:14 +02:00
|
|
|
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';
|
2022-01-05 22:20:43 +01:00
|
|
|
export const HIDE_SCHEDULED_LIVESTREAMS = 'hide_scheduled_livestreams';
|
2021-10-17 10:36:14 +02:00
|
|
|
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';
|
2021-08-08 10:13:35 +02:00
|
|
|
|
|
|
|
export const SETTINGS_GRP = {
|
|
|
|
APPEARANCE: 'appearance',
|
|
|
|
ACCOUNT: 'account',
|
|
|
|
CONTENT: 'content',
|
|
|
|
SYSTEM: 'system',
|
|
|
|
};
|