diff options
Diffstat (limited to 'client/src/app/core/auth/auth-user.model.ts')
-rw-r--r-- | client/src/app/core/auth/auth-user.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/core/auth/auth-user.model.ts b/client/src/app/core/auth/auth-user.model.ts index d371a923f..55a5a6dde 100644 --- a/client/src/app/core/auth/auth-user.model.ts +++ b/client/src/app/core/auth/auth-user.model.ts | |||
@@ -5,6 +5,7 @@ import { User as ServerUserModel } from '../../../../../shared/models/users/user | |||
5 | import { hasUserRight, UserRole } from '../../../../../shared/models/users/user-role' | 5 | import { hasUserRight, UserRole } from '../../../../../shared/models/users/user-role' |
6 | import { User } from '../../shared/users/user.model' | 6 | import { User } from '../../shared/users/user.model' |
7 | import { NSFWPolicyType } from '../../../../../shared/models/videos/nsfw-policy.type' | 7 | import { NSFWPolicyType } from '../../../../../shared/models/videos/nsfw-policy.type' |
8 | import { VideoPlaylist } from '@app/shared/video-playlist/video-playlist.model' | ||
8 | 9 | ||
9 | export type TokenOptions = { | 10 | export type TokenOptions = { |
10 | accessToken: string | 11 | accessToken: string |
@@ -79,6 +80,7 @@ export class AuthUser extends User { | |||
79 | } | 80 | } |
80 | 81 | ||
81 | tokens: Tokens | 82 | tokens: Tokens |
83 | specialPlaylists: Partial<VideoPlaylist>[] | ||
82 | 84 | ||
83 | static load () { | 85 | static load () { |
84 | const usernameLocalStorage = peertubeLocalStorage.getItem(this.KEYS.USERNAME) | 86 | const usernameLocalStorage = peertubeLocalStorage.getItem(this.KEYS.USERNAME) |