aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/user.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-10 22:15:25 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-10 22:15:25 +0200
commit69818c9394366b954b6ba3bd697bd9d2b09f2a16 (patch)
treead199a18ec3c322460d6f9523fc383ee562554e0 /shared/models/user.model.ts
parent4d4e5cd4dca78480ec7f40e747f424cd107376a4 (diff)
downloadPeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.tar.gz
PeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.tar.zst
PeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.zip
Type functions
Diffstat (limited to 'shared/models/user.model.ts')
-rw-r--r--shared/models/user.model.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/shared/models/user.model.ts b/shared/models/user.model.ts
new file mode 100644
index 000000000..01cc380d3
--- /dev/null
+++ b/shared/models/user.model.ts
@@ -0,0 +1,8 @@
1export interface User {
2 id: number
3 username: string
4 email: string
5 displayNSFW: boolean
6 role: string[]
7 createdAt: Date
8}