diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 14:44:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | 4e50b6a1c9a3eb261e04ede73241648e6edf21d6 (patch) | |
tree | e1c6c121d561ffc1cf2996daec03a1e7f27f0a25 /server/models/video/video-channel-share-interface.ts | |
parent | 74bb2cb8348d6794ed3a0e2ec94c8c9abdde82cf (diff) | |
download | PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.gz PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.zst PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.zip |
Add shares forward and collection on videos/video channels
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 { |