aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/user.model.ts2
-rw-r--r--shared/models/video.model.ts22
2 files changed, 22 insertions, 2 deletions
diff --git a/shared/models/user.model.ts b/shared/models/user.model.ts
index 01cc380d3..a6be359d3 100644
--- a/shared/models/user.model.ts
+++ b/shared/models/user.model.ts
@@ -3,6 +3,6 @@ export interface User {
3 username: string 3 username: string
4 email: string 4 email: string
5 displayNSFW: boolean 5 displayNSFW: boolean
6 role: string[] 6 role: string
7 createdAt: Date 7 createdAt: Date
8} 8}
diff --git a/shared/models/video.model.ts b/shared/models/video.model.ts
index 355e912d2..2e35f005c 100644
--- a/shared/models/video.model.ts
+++ b/shared/models/video.model.ts
@@ -1,3 +1,23 @@
1export interface Video { 1export interface Video {
2 2 id: string
3 author: string
4 createdAt: Date
5 categoryLabel: string
6 category: number
7 licenceLabel: string
8 licence: number
9 languageLabel: string
10 language: number
11 description: string
12 duration: number
13 isLocal: boolean
14 magnetUri: string
15 name: string
16 podHost: string
17 tags: string[]
18 thumbnailPath: string
19 views: number
20 likes: number
21 dislikes: number
22 nsfw: boolean
3} 23}