diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:36:23 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:36:23 +0200 |
commit | 93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (patch) | |
tree | b0a1f77af7ab54dc5f58f569fcd1e9d84b04c533 /shared/models/pods/remote-video/remote-video-create-request.model.ts | |
parent | 69f224587e99d56008e1fa129d0641840a486620 (diff) | |
download | PeerTube-93e1258c7cbc0d1235ca6d2a1f7c1875985328b8.tar.gz PeerTube-93e1258c7cbc0d1235ca6d2a1f7c1875985328b8.tar.zst PeerTube-93e1258c7cbc0d1235ca6d2a1f7c1875985328b8.zip |
Move video file metadata in their own table
Will be used for user video quotas and multiple video resolutions
Diffstat (limited to 'shared/models/pods/remote-video/remote-video-create-request.model.ts')
-rw-r--r-- | shared/models/pods/remote-video/remote-video-create-request.model.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/shared/models/pods/remote-video/remote-video-create-request.model.ts b/shared/models/pods/remote-video/remote-video-create-request.model.ts index b6a570e42..98425e4d9 100644 --- a/shared/models/pods/remote-video/remote-video-create-request.model.ts +++ b/shared/models/pods/remote-video/remote-video-create-request.model.ts | |||
@@ -5,8 +5,6 @@ export interface RemoteVideoCreateData { | |||
5 | author: string | 5 | author: string |
6 | tags: string[] | 6 | tags: string[] |
7 | name: string | 7 | name: string |
8 | extname: string | ||
9 | infoHash: string | ||
10 | category: number | 8 | category: number |
11 | licence: number | 9 | licence: number |
12 | language: number | 10 | language: number |
@@ -19,6 +17,12 @@ export interface RemoteVideoCreateData { | |||
19 | likes: number | 17 | likes: number |
20 | dislikes: number | 18 | dislikes: number |
21 | thumbnailData: string | 19 | thumbnailData: string |
20 | files: { | ||
21 | infoHash: string | ||
22 | extname: string | ||
23 | resolution: number | ||
24 | size: number | ||
25 | }[] | ||
22 | } | 26 | } |
23 | 27 | ||
24 | export interface RemoteVideoCreateRequest extends RemoteVideoRequest { | 28 | export interface RemoteVideoCreateRequest extends RemoteVideoRequest { |