aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/video.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-11 11:02:35 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-11 11:02:35 +0200
commit69f616ab3aeefd6ce330600604df90f2f48bfe3b (patch)
tree1b40d6005e645d97a7db9784f32cd90b156528fa /shared/models/video.model.ts
parent75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42 (diff)
downloadPeerTube-69f616ab3aeefd6ce330600604df90f2f48bfe3b.tar.gz
PeerTube-69f616ab3aeefd6ce330600604df90f2f48bfe3b.tar.zst
PeerTube-69f616ab3aeefd6ce330600604df90f2f48bfe3b.zip
Use shared models
Diffstat (limited to 'shared/models/video.model.ts')
-rw-r--r--shared/models/video.model.ts22
1 files changed, 21 insertions, 1 deletions
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}