diff options
Diffstat (limited to 'server/models/video/video-channel-share-interface.ts')
-rw-r--r-- | server/models/video/video-channel-share-interface.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/models/video/video-channel-share-interface.ts b/server/models/video/video-channel-share-interface.ts index 8bb531af2..bcb3a0e24 100644 --- a/server/models/video/video-channel-share-interface.ts +++ b/server/models/video/video-channel-share-interface.ts | |||
@@ -5,10 +5,12 @@ import { VideoChannelInstance } from './video-channel-interface' | |||
5 | 5 | ||
6 | export namespace VideoChannelShareMethods { | 6 | export namespace VideoChannelShareMethods { |
7 | export type LoadAccountsByShare = (videoChannelId: number) => Bluebird<AccountInstance[]> | 7 | export type LoadAccountsByShare = (videoChannelId: number) => Bluebird<AccountInstance[]> |
8 | export type Load = (accountId: number, videoId: number) => Bluebird<VideoChannelShareInstance> | ||
8 | } | 9 | } |
9 | 10 | ||
10 | export interface VideoChannelShareClass { | 11 | export interface VideoChannelShareClass { |
11 | loadAccountsByShare: VideoChannelShareMethods.LoadAccountsByShare | 12 | loadAccountsByShare: VideoChannelShareMethods.LoadAccountsByShare |
13 | load: VideoChannelShareMethods.Load | ||
12 | } | 14 | } |
13 | 15 | ||
14 | export interface VideoChannelShareAttributes { | 16 | export interface VideoChannelShareAttributes { |