diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/core/auth/auth-user.model.ts | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
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 |