aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-05-29 16:16:24 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-10 14:02:41 +0200
commit5fb2e2888ce032c638e4b75d07458642f0833e52 (patch)
tree8830d873569316889b8134027e9a43b198cca38f /shared/models/videos
parent62e7be634bc189f942ae51cb4b080079ab503ff0 (diff)
downloadPeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.gz
PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.tar.zst
PeerTube-5fb2e2888ce032c638e4b75d07458642f0833e52.zip
First implem global search
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video.model.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index a69152759..0f8822125 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -22,9 +22,19 @@ export interface Video {
22 duration: number 22 duration: number
23 isLocal: boolean 23 isLocal: boolean
24 name: string 24 name: string
25
25 thumbnailPath: string 26 thumbnailPath: string
27 thumbnailUrl?: string
28
26 previewPath: string 29 previewPath: string
30 previewUrl?: string
31
27 embedPath: string 32 embedPath: string
33 embedUrl?: string
34
35 // When using the search index
36 url?: string
37
28 views: number 38 views: number
29 likes: number 39 likes: number
30 dislikes: number 40 dislikes: number