aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/models/video/video-caption.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/types/models/video/video-caption.ts')
-rw-r--r--server/types/models/video/video-caption.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/types/models/video/video-caption.ts b/server/types/models/video/video-caption.ts
index ab80ff830..1f761a866 100644
--- a/server/types/models/video/video-caption.ts
+++ b/server/types/models/video/video-caption.ts
@@ -1,5 +1,5 @@
1import { PickWith } from '@shared/core-utils'
1import { VideoCaptionModel } from '../../../models/video/video-caption' 2import { VideoCaptionModel } from '../../../models/video/video-caption'
2import { FunctionProperties, PickWith } from '@shared/core-utils'
3import { MVideo, MVideoUUID } from './video' 3import { MVideo, MVideoUUID } from './video'
4 4
5type Use<K extends keyof VideoCaptionModel, M> = PickWith<VideoCaptionModel, K, M> 5type Use<K extends keyof VideoCaptionModel, M> = PickWith<VideoCaptionModel, K, M>
@@ -22,6 +22,6 @@ export type MVideoCaptionVideo =
22// Format for API or AP object 22// Format for API or AP object
23 23
24export type MVideoCaptionFormattable = 24export type MVideoCaptionFormattable =
25 FunctionProperties<MVideoCaption> & 25 MVideoCaption &
26 Pick<MVideoCaption, 'language'> & 26 Pick<MVideoCaption, 'language'> &
27 Use<'Video', MVideoUUID> 27 Use<'Video', MVideoUUID>