1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Move video file metadata in their own table

Will be used for user video quotas and multiple video resolutions
This commit is contained in:
Chocobozzz 2017-08-25 11:36:23 +02:00
parent 69f224587e
commit 93e1258c7c
30 changed files with 818 additions and 340 deletions

View file

@ -5,8 +5,6 @@ export interface RemoteVideoCreateData {
author: string
tags: string[]
name: string
extname: string
infoHash: string
category: number
licence: number
language: number
@ -19,6 +17,12 @@ export interface RemoteVideoCreateData {
likes: number
dislikes: number
thumbnailData: string
files: {
infoHash: string
extname: string
resolution: number
size: number
}[]
}
export interface RemoteVideoCreateRequest extends RemoteVideoRequest {