aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/models/video-abuse-interface.ts
blob: 9b77fc6f5907ee66aacaad42b03c5aab7148dc47 (plain) (tree)























                                                                                                                      
import * as Sequelize from 'sequelize'

export namespace VideoAbuseMethods {
  export type toFormatedJSON = () => void

  export type ListForApi = (start, count, sort, callback) => void
}

export interface VideoAbuseClass {
  listForApi: VideoAbuseMethods.ListForApi
}

export interface VideoAbuseAttributes {
  reporterUsername: string
  reason: string
}

export interface VideoAbuseInstance extends Sequelize.Instance<VideoAbuseAttributes> {
  id: number
  createdAt: Date
  updatedAt: Date
}

export interface VideoAbuseModel extends VideoAbuseClass, Sequelize.Model<VideoAbuseInstance, VideoAbuseAttributes> {}