1 import * as Sequelize from 'sequelize'
2 import { AccountInstance } from '../account/account-interface'
3 import { VideoInstance } from './video-interface'
4 import * as Bluebird from 'bluebird'
6 export namespace VideoShareMethods {
7 export type LoadAccountsByShare = (videoChannelId: number) => Bluebird<AccountInstance[]>
10 export interface VideoShareClass {
11 loadAccountsByShare: VideoShareMethods.LoadAccountsByShare
14 export interface VideoShareAttributes {
19 export interface VideoShareInstance extends VideoShareClass, VideoShareAttributes, Sequelize.Instance<VideoShareAttributes> {
24 Account?: AccountInstance
28 export interface VideoShareModel extends VideoShareClass, Sequelize.Model<VideoShareInstance, VideoShareAttributes> {}