diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 14:58:28 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 14:58:28 +0200 |
commit | a96aed15188174c50885dda0df3164a67295e11f (patch) | |
tree | 7e3941324614e52a2f6ab7755224ab8ae8f8c19f /server/models/video/video-interface.ts | |
parent | bda65bdc9f3ce7d4b6e97cb9afaca25b71added3 (diff) | |
download | PeerTube-a96aed15188174c50885dda0df3164a67295e11f.tar.gz PeerTube-a96aed15188174c50885dda0df3164a67295e11f.tar.zst PeerTube-a96aed15188174c50885dda0df3164a67295e11f.zip |
Add ability to download a video from direct link or torrent file
Diffstat (limited to 'server/models/video/video-interface.ts')
-rw-r--r-- | server/models/video/video-interface.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/models/video/video-interface.ts b/server/models/video/video-interface.ts index 1402df26a..86ce84dd9 100644 --- a/server/models/video/video-interface.ts +++ b/server/models/video/video-interface.ts | |||
@@ -18,7 +18,6 @@ export namespace VideoMethods { | |||
18 | export type ToFormattedJSON = (this: VideoInstance) => FormattedVideo | 18 | export type ToFormattedJSON = (this: VideoInstance) => FormattedVideo |
19 | 19 | ||
20 | export type GetOriginalFile = (this: VideoInstance) => VideoFileInstance | 20 | export type GetOriginalFile = (this: VideoInstance) => VideoFileInstance |
21 | export type GenerateMagnetUri = (this: VideoInstance, videoFile: VideoFileInstance) => string | ||
22 | export type GetTorrentFileName = (this: VideoInstance, videoFile: VideoFileInstance) => string | 21 | export type GetTorrentFileName = (this: VideoInstance, videoFile: VideoFileInstance) => string |
23 | export type GetVideoFilename = (this: VideoInstance, videoFile: VideoFileInstance) => string | 22 | export type GetVideoFilename = (this: VideoInstance, videoFile: VideoFileInstance) => string |
24 | export type CreatePreview = (this: VideoInstance, videoFile: VideoFileInstance) => Promise<string> | 23 | export type CreatePreview = (this: VideoInstance, videoFile: VideoFileInstance) => Promise<string> |
@@ -108,7 +107,6 @@ export interface VideoInstance extends VideoClass, VideoAttributes, Sequelize.In | |||
108 | createThumbnail: VideoMethods.CreateThumbnail | 107 | createThumbnail: VideoMethods.CreateThumbnail |
109 | createTorrentAndSetInfoHash: VideoMethods.CreateTorrentAndSetInfoHash | 108 | createTorrentAndSetInfoHash: VideoMethods.CreateTorrentAndSetInfoHash |
110 | getOriginalFile: VideoMethods.GetOriginalFile | 109 | getOriginalFile: VideoMethods.GetOriginalFile |
111 | generateMagnetUri: VideoMethods.GenerateMagnetUri | ||
112 | getPreviewName: VideoMethods.GetPreviewName | 110 | getPreviewName: VideoMethods.GetPreviewName |
113 | getPreviewPath: VideoMethods.GetPreviewPath | 111 | getPreviewPath: VideoMethods.GetPreviewPath |
114 | getThumbnailName: VideoMethods.GetThumbnailName | 112 | getThumbnailName: VideoMethods.GetThumbnailName |