diff options
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts new file mode 100644 index 000000000..2e35f005c --- /dev/null +++ b/shared/models/videos/video.model.ts | |||
@@ -0,0 +1,23 @@ | |||
1 | export interface Video { | ||
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 | ||
23 | } | ||