aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-interface.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video-interface.ts')
-rw-r--r--server/models/video/video-interface.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/server/models/video/video-interface.ts b/server/models/video/video-interface.ts
index 71b9b0a69..5fefc2bb1 100644
--- a/server/models/video/video-interface.ts
+++ b/server/models/video/video-interface.ts
@@ -48,21 +48,21 @@ export type FormatedUpdateRemoteVideo = {
48} 48}
49 49
50export namespace VideoMethods { 50export namespace VideoMethods {
51 export type GenerateMagnetUri = () => string 51 export type GenerateMagnetUri = (this: VideoInstance) => string
52 export type GetVideoFilename = () => string 52 export type GetVideoFilename = (this: VideoInstance) => string
53 export type GetThumbnailName = () => string 53 export type GetThumbnailName = (this: VideoInstance) => string
54 export type GetPreviewName = () => string 54 export type GetPreviewName = (this: VideoInstance) => string
55 export type GetTorrentName = () => string 55 export type GetTorrentName = (this: VideoInstance) => string
56 export type IsOwned = () => boolean 56 export type IsOwned = (this: VideoInstance) => boolean
57 export type ToFormatedJSON = () => FormatedVideo 57 export type ToFormatedJSON = (this: VideoInstance) => FormatedVideo
58 58
59 export type ToAddRemoteJSONCallback = (err: Error, videoFormated?: FormatedAddRemoteVideo) => void 59 export type ToAddRemoteJSONCallback = (err: Error, videoFormated?: FormatedAddRemoteVideo) => void
60 export type ToAddRemoteJSON = (callback: ToAddRemoteJSONCallback) => void 60 export type ToAddRemoteJSON = (this: VideoInstance, callback: ToAddRemoteJSONCallback) => void
61 61
62 export type ToUpdateRemoteJSON = () => FormatedUpdateRemoteVideo 62 export type ToUpdateRemoteJSON = (this: VideoInstance) => FormatedUpdateRemoteVideo
63 63
64 export type TranscodeVideofileCallback = (err: Error) => void 64 export type TranscodeVideofileCallback = (err: Error) => void
65 export type TranscodeVideofile = (callback: TranscodeVideofileCallback) => void 65 export type TranscodeVideofile = (this: VideoInstance, callback: TranscodeVideofileCallback) => void
66 66
67 export type GenerateThumbnailFromDataCallback = (err: Error, thumbnailName?: string) => void 67 export type GenerateThumbnailFromDataCallback = (err: Error, thumbnailName?: string) => void
68 export type GenerateThumbnailFromData = (video: VideoInstance, thumbnailData: string, callback: GenerateThumbnailFromDataCallback) => void 68 export type GenerateThumbnailFromData = (video: VideoInstance, thumbnailData: string, callback: GenerateThumbnailFromDataCallback) => void