aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings')
-rw-r--r--server/typings/models/video/video-caption.ts1
-rw-r--r--server/typings/models/video/video.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/server/typings/models/video/video-caption.ts b/server/typings/models/video/video-caption.ts
index ffa56f544..eeddedb40 100644
--- a/server/typings/models/video/video-caption.ts
+++ b/server/typings/models/video/video-caption.ts
@@ -11,6 +11,7 @@ export type MVideoCaption = Omit<VideoCaptionModel, 'Video'>
11// ############################################################################ 11// ############################################################################
12 12
13export type MVideoCaptionLanguage = Pick<MVideoCaption, 'language'> 13export type MVideoCaptionLanguage = Pick<MVideoCaption, 'language'>
14export type MVideoCaptionLanguageUrl = Pick<MVideoCaption, 'language' | 'fileUrl' | 'getFileUrl'>
14 15
15export type MVideoCaptionVideo = MVideoCaption & 16export type MVideoCaptionVideo = MVideoCaption &
16 Use<'Video', Pick<MVideo, 'id' | 'remote' | 'uuid'>> 17 Use<'Video', Pick<MVideo, 'id' | 'remote' | 'uuid'>>
diff --git a/server/typings/models/video/video.ts b/server/typings/models/video/video.ts
index bcc5e5028..82d76f40c 100644
--- a/server/typings/models/video/video.ts
+++ b/server/typings/models/video/video.ts
@@ -9,7 +9,7 @@ import {
9 MChannelUserId 9 MChannelUserId
10} from './video-channels' 10} from './video-channels'
11import { MTag } from './tag' 11import { MTag } from './tag'
12import { MVideoCaptionLanguage } from './video-caption' 12import { MVideoCaptionLanguage, MVideoCaptionLanguageUrl } from './video-caption'
13import { 13import {
14 MStreamingPlaylistFiles, 14 MStreamingPlaylistFiles,
15 MStreamingPlaylistRedundancies, 15 MStreamingPlaylistRedundancies,
@@ -140,7 +140,7 @@ export type MVideoAP = MVideo &
140 Use<'Tags', MTag[]> & 140 Use<'Tags', MTag[]> &
141 Use<'VideoChannel', MChannelAccountLight> & 141 Use<'VideoChannel', MChannelAccountLight> &
142 Use<'VideoStreamingPlaylists', MStreamingPlaylistFiles[]> & 142 Use<'VideoStreamingPlaylists', MStreamingPlaylistFiles[]> &
143 Use<'VideoCaptions', MVideoCaptionLanguage[]> & 143 Use<'VideoCaptions', MVideoCaptionLanguageUrl[]> &
144 Use<'VideoBlacklist', MVideoBlacklistUnfederated> & 144 Use<'VideoBlacklist', MVideoBlacklistUnfederated> &
145 Use<'VideoFiles', MVideoFileRedundanciesOpt[]> & 145 Use<'VideoFiles', MVideoFileRedundanciesOpt[]> &
146 Use<'Thumbnails', MThumbnail[]> 146 Use<'Thumbnails', MThumbnail[]>