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 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/client/src/app/core/auth/auth-user.model.ts b/client/src/app/core/auth/auth-user.model.ts index 4ad904beb..4e7801550 100644 --- a/client/src/app/core/auth/auth-user.model.ts +++ b/client/src/app/core/auth/auth-user.model.ts | |||
@@ -1,10 +1,14 @@ | |||
1 | import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage' | 1 | import { User } from '@app/core/users/user.model' |
2 | import { UserRight } from '../../../../../shared/models/users/user-right.enum' | 2 | import { peertubeLocalStorage } from '@app/helpers/peertube-web-storage' |
3 | import { MyUser as ServerMyUserModel, User as ServerUserModel, MyUserSpecialPlaylist } from '../../../../../shared/models/users/user.model' | 3 | import { |
4 | // Do not use the barrel (dependency loop) | 4 | hasUserRight, |
5 | import { hasUserRight, UserRole } from '../../../../../shared/models/users/user-role' | 5 | MyUser as ServerMyUserModel, |
6 | import { User } from '../../shared/users/user.model' | 6 | MyUserSpecialPlaylist, |
7 | import { NSFWPolicyType } from '../../../../../shared/models/videos/nsfw-policy.type' | 7 | NSFWPolicyType, |
8 | User as ServerUserModel, | ||
9 | UserRight, | ||
10 | UserRole | ||
11 | } from '@shared/models' | ||
8 | 12 | ||
9 | export type TokenOptions = { | 13 | export type TokenOptions = { |
10 | accessToken: string | 14 | accessToken: string |