1 import * as Sequelize from 'sequelize'
2 import * as Promise from 'bluebird'
4 import { VideoRateType } from '../../../shared/models/videos/video-rate.type'
6 export namespace AccountVideoRateMethods {
7 export type Load = (accountId: number, videoId: number, transaction: Sequelize.Transaction) => Promise<AccountVideoRateInstance>
10 export interface AccountVideoRateClass {
11 load: AccountVideoRateMethods.Load
14 export interface AccountVideoRateAttributes {
20 export interface AccountVideoRateInstance extends AccountVideoRateClass, AccountVideoRateAttributes, Sequelize.Instance<AccountVideoRateAttributes> {
26 export interface AccountVideoRateModel extends AccountVideoRateClass, Sequelize.Model<AccountVideoRateInstance, AccountVideoRateAttributes> {}