diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-06 15:25:19 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:55:02 +0200 |
commit | a4ff3100d36f2fe9a4dfc00e8487c28a94433c4f (patch) | |
tree | 1744c9db32b765b1511d4a69a7ba7b525dc0f619 /client/src/root-helpers/users/user-local-storage-keys.ts | |
parent | a02b93ce756d646a59cef57b5e4ff53c2bb30bec (diff) | |
download | PeerTube-a4ff3100d36f2fe9a4dfc00e8487c28a94433c4f.tar.gz PeerTube-a4ff3100d36f2fe9a4dfc00e8487c28a94433c4f.tar.zst PeerTube-a4ff3100d36f2fe9a4dfc00e8487c28a94433c4f.zip |
Cleanup tokens logic in embed
Diffstat (limited to 'client/src/root-helpers/users/user-local-storage-keys.ts')
-rw-r--r-- | client/src/root-helpers/users/user-local-storage-keys.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/root-helpers/users/user-local-storage-keys.ts b/client/src/root-helpers/users/user-local-storage-keys.ts new file mode 100644 index 000000000..5f915899c --- /dev/null +++ b/client/src/root-helpers/users/user-local-storage-keys.ts | |||
@@ -0,0 +1,15 @@ | |||
1 | export const UserLocalStorageKeys = { | ||
2 | ID: 'id', | ||
3 | ROLE: 'role', | ||
4 | EMAIL: 'email', | ||
5 | VIDEOS_HISTORY_ENABLED: 'videos-history-enabled', | ||
6 | USERNAME: 'username', | ||
7 | NSFW_POLICY: 'nsfw_policy', | ||
8 | WEBTORRENT_ENABLED: 'peertube-videojs-' + 'webtorrent_enabled', | ||
9 | AUTO_PLAY_VIDEO: 'auto_play_video', | ||
10 | SESSION_STORAGE_AUTO_PLAY_NEXT_VIDEO: 'auto_play_next_video', | ||
11 | AUTO_PLAY_VIDEO_PLAYLIST: 'auto_play_video_playlist', | ||
12 | THEME: 'theme', | ||
13 | LAST_ACTIVE_THEME: 'last_active_theme', | ||
14 | VIDEO_LANGUAGES: 'video_languages' | ||
15 | } | ||