mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-02 05:19:17 -06:00
93e1258c7c
Will be used for user video quotas and multiple video resolutions
25 lines
541 B
TypeScript
25 lines
541 B
TypeScript
import * as Sequelize from 'sequelize'
|
|
|
|
export namespace VideoFileMethods {
|
|
}
|
|
|
|
export interface VideoFileClass {
|
|
}
|
|
|
|
export interface VideoFileAttributes {
|
|
resolution: number
|
|
size: number
|
|
infoHash?: string
|
|
extname: string
|
|
|
|
videoId?: number
|
|
}
|
|
|
|
export interface VideoFileInstance extends VideoFileClass, VideoFileAttributes, Sequelize.Instance<VideoFileAttributes> {
|
|
id: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|
|
|
|
export interface VideoFileModel extends VideoFileClass, Sequelize.Model<VideoFileInstance, VideoFileAttributes> {}
|