aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-17 10:07:00 +0200
committerChocobozzz <me@florianbigard.com>2019-04-24 16:25:52 +0200
commite8bafea35bc930cb8ac5b2d521a188642a1adffe (patch)
tree7537f957ed7307b464e3c90b71b813d992acaade /shared
parent94565d52bb2883e09f16d1363170ac9c0dccb7a1 (diff)
downloadPeerTube-e8bafea35bc930cb8ac5b2d521a188642a1adffe.tar.gz
PeerTube-e8bafea35bc930cb8ac5b2d521a188642a1adffe.tar.zst
PeerTube-e8bafea35bc930cb8ac5b2d521a188642a1adffe.zip
Create a dedicated table to track video thumbnails
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/objects/playlist-object.ts2
-rw-r--r--shared/models/videos/thumbnail.type.ts4
2 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/activitypub/objects/playlist-object.ts b/shared/models/activitypub/objects/playlist-object.ts
index c11a23a69..b561d8efd 100644
--- a/shared/models/activitypub/objects/playlist-object.ts
+++ b/shared/models/activitypub/objects/playlist-object.ts
@@ -11,7 +11,7 @@ export interface PlaylistObject {
11 totalItems: number 11 totalItems: number
12 attributedTo: string[] 12 attributedTo: string[]
13 13
14 icon: ActivityIconObject 14 icon?: ActivityIconObject
15 15
16 published: string 16 published: string
17 updated: string 17 updated: string
diff --git a/shared/models/videos/thumbnail.type.ts b/shared/models/videos/thumbnail.type.ts
new file mode 100644
index 000000000..317b4db43
--- /dev/null
+++ b/shared/models/videos/thumbnail.type.ts
@@ -0,0 +1,4 @@
1export enum ThumbnailType {
2 THUMBNAIL = 1,
3 PREVIEW = 2
4}