Fix lint
[oweals/peertube.git] / server / models / video / video-file-interface.ts
1 import * as Sequelize from 'sequelize'
2
3 export namespace VideoFileMethods {
4 }
5
6 export interface VideoFileClass {
7 }
8
9 export interface VideoFileAttributes {
10   resolution: number
11   size: number
12   infoHash?: string
13   extname: string
14
15   videoId?: number
16 }
17
18 export interface VideoFileInstance extends VideoFileClass, VideoFileAttributes, Sequelize.Instance<VideoFileAttributes> {
19   id: number
20   createdAt: Date
21   updatedAt: Date
22 }
23
24 export interface VideoFileModel extends VideoFileClass, Sequelize.Model<VideoFileInstance, VideoFileAttributes> {}