diff options
Diffstat (limited to 'server/models/video/video-share-interface.ts')
-rw-r--r-- | server/models/video/video-share-interface.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/video/video-share-interface.ts b/server/models/video/video-share-interface.ts index 7928b9a9c..569568842 100644 --- a/server/models/video/video-share-interface.ts +++ b/server/models/video/video-share-interface.ts | |||
@@ -1,11 +1,14 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import { AccountInstance } from '../account/account-interface' | 2 | import { AccountInstance } from '../account/account-interface' |
3 | import { VideoInstance } from './video-interface' | 3 | import { VideoInstance } from './video-interface' |
4 | import * as Bluebird from 'bluebird' | ||
4 | 5 | ||
5 | export namespace VideoShareMethods { | 6 | export namespace VideoShareMethods { |
7 | export type LoadAccountsByShare = (videoChannelId: number) => Bluebird<AccountInstance[]> | ||
6 | } | 8 | } |
7 | 9 | ||
8 | export interface VideoShareClass { | 10 | export interface VideoShareClass { |
11 | loadAccountsByShare: VideoShareMethods.LoadAccountsByShare | ||
9 | } | 12 | } |
10 | 13 | ||
11 | export interface VideoShareAttributes { | 14 | export interface VideoShareAttributes { |