]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/root-helpers/users/user-local-storage-keys.ts
Merge branch 'release/4.0.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / root-helpers / users / user-local-storage-keys.ts
CommitLineData
a4ff3100 1export const UserLocalStorageKeys = {
4504f09f 2 ID: 'id',
a9bfa85d 3 USERNAME: 'username',
4504f09f
RK
4 ROLE: 'role',
5 EMAIL: 'email',
a9bfa85d 6
4504f09f 7 VIDEOS_HISTORY_ENABLED: 'videos-history-enabled',
4504f09f 8 NSFW_POLICY: 'nsfw_policy',
a9bfa85d
C
9 P2P_ENABLED: 'peertube-videojs-' + 'webtorrent_enabled',
10
4504f09f 11 AUTO_PLAY_VIDEO: 'auto_play_video',
a9bfa85d 12 AUTO_PLAY_NEXT_VIDEO: 'auto_play_next_video',
4504f09f 13 AUTO_PLAY_VIDEO_PLAYLIST: 'auto_play_video_playlist',
a9bfa85d 14
4504f09f
RK
15 THEME: 'theme',
16 LAST_ACTIVE_THEME: 'last_active_theme',
a9bfa85d 17
4504f09f
RK
18 VIDEO_LANGUAGES: 'video_languages'
19}
a9bfa85d
C
20
21export const UserTokenLocalStorageKeys = {
22 ACCESS_TOKEN: 'access_token',
23 REFRESH_TOKEN: 'refresh_token',
24 TOKEN_TYPE: 'token_type'
25}