1
0
Fork 0
peertube/server/models/video/video-file-interface.ts

25 lines
541 B
TypeScript
Raw Normal View History

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> {}