aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-file-interface.ts
blob: c9fb8b8ae9dde1c63f49191fbacd766e4ec04e27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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> {}