aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/root-helpers/user-keys.ts
blob: 897be8c4336d8753d51901aaa22ed0fa4e1f3e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const UserKeys = {
  ID: 'id',
  ROLE: 'role',
  EMAIL: 'email',
  VIDEOS_HISTORY_ENABLED: 'videos-history-enabled',
  USERNAME: 'username',
  NSFW_POLICY: 'nsfw_policy',
  WEBTORRENT_ENABLED: 'peertube-videojs-' + 'webtorrent_enabled',
  AUTO_PLAY_VIDEO: 'auto_play_video',
  SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO: 'auto_play_next_video',
  AUTO_PLAY_VIDEO_PLAYLIST: 'auto_play_video_playlist',
  THEME: 'theme',
  LAST_ACTIVE_THEME: 'last_active_theme',
  VIDEO_LANGUAGES: 'video_languages'
}