aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/users/user.model.ts')
-rw-r--r--shared/models/users/user.model.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts
new file mode 100644
index 000000000..5c48a17b2
--- /dev/null
+++ b/shared/models/users/user.model.ts
@@ -0,0 +1,10 @@
1import { UserRole } from './user-role.type'
2
3export interface User {
4 id: number
5 username: string
6 email: string
7 displayNSFW: boolean
8 role: UserRole
9 createdAt: Date
10}