diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/users/user.model.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts index 09722704a..d4695ab67 100644 --- a/client/src/app/shared/users/user.model.ts +++ b/client/src/app/shared/users/user.model.ts | |||
@@ -1,10 +1,10 @@ | |||
1 | import { User as UserServerModel } from '../../../../../shared'; | 1 | import { User as UserServerModel, UserRole } from '../../../../../shared'; |
2 | 2 | ||
3 | export class User implements UserServerModel { | 3 | export class User implements UserServerModel { |
4 | id: number; | 4 | id: number; |
5 | username: string; | 5 | username: string; |
6 | email: string; | 6 | email: string; |
7 | role: string; | 7 | role: UserRole; |
8 | displayNSFW: boolean; | 8 | displayNSFW: boolean; |
9 | createdAt: Date; | 9 | createdAt: Date; |
10 | 10 | ||
@@ -12,7 +12,7 @@ export class User implements UserServerModel { | |||
12 | id: number, | 12 | id: number, |
13 | username: string, | 13 | username: string, |
14 | email: string, | 14 | email: string, |
15 | role: string, | 15 | role: UserRole, |
16 | displayNSFW?: boolean, | 16 | displayNSFW?: boolean, |
17 | createdAt?: Date, | 17 | createdAt?: Date, |
18 | }) { | 18 | }) { |