aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/auth/auth-user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/auth/auth-user.model.ts')
-rw-r--r--client/src/app/core/auth/auth-user.model.ts18
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 @@
1import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage' 1import { User } from '@app/core/users/user.model'
2import { UserRight } from '../../../../../shared/models/users/user-right.enum' 2import { peertubeLocalStorage } from '@app/helpers/peertube-web-storage'
3import { MyUser as ServerMyUserModel, User as ServerUserModel, MyUserSpecialPlaylist } from '../../../../../shared/models/users/user.model' 3import {
4// Do not use the barrel (dependency loop) 4 hasUserRight,
5import { hasUserRight, UserRole } from '../../../../../shared/models/users/user-role' 5 MyUser as ServerMyUserModel,
6import { User } from '../../shared/users/user.model' 6 MyUserSpecialPlaylist,
7import { NSFWPolicyType } from '../../../../../shared/models/videos/nsfw-policy.type' 7 NSFWPolicyType,
8 User as ServerUserModel,
9 UserRight,
10 UserRole
11} from '@shared/models'
8 12
9export type TokenOptions = { 13export type TokenOptions = {
10 accessToken: string 14 accessToken: string