aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/user.model.ts')
-rw-r--r--shared/models/user.model.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/models/user.model.ts b/shared/models/user.model.ts
index a6be359d3..92dc73ec2 100644
--- a/shared/models/user.model.ts
+++ b/shared/models/user.model.ts
@@ -1,8 +1,10 @@
1export type UserRole = 'admin' | 'user'
2
1export interface User { 3export interface User {
2 id: number 4 id: number
3 username: string 5 username: string
4 email: string 6 email: string
5 displayNSFW: boolean 7 displayNSFW: boolean
6 role: string 8 role: UserRole
7 createdAt: Date 9 createdAt: Date
8} 10}