diff options
Diffstat (limited to 'server/types/models')
-rw-r--r-- | server/types/models/video/video-caption.ts | 4 |
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 @@ | |||
1 | import { PickWith } from '@shared/core-utils' | ||
1 | import { VideoCaptionModel } from '../../../models/video/video-caption' | 2 | import { VideoCaptionModel } from '../../../models/video/video-caption' |
2 | import { FunctionProperties, PickWith } from '@shared/core-utils' | ||
3 | import { MVideo, MVideoUUID } from './video' | 3 | import { MVideo, MVideoUUID } from './video' |
4 | 4 | ||
5 | type Use<K extends keyof VideoCaptionModel, M> = PickWith<VideoCaptionModel, K, M> | 5 | type 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 | ||
24 | export type MVideoCaptionFormattable = | 24 | export type MVideoCaptionFormattable = |
25 | FunctionProperties<MVideoCaption> & | 25 | MVideoCaption & |
26 | Pick<MVideoCaption, 'language'> & | 26 | Pick<MVideoCaption, 'language'> & |
27 | Use<'Video', MVideoUUID> | 27 | Use<'Video', MVideoUUID> |