]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/video/video-caption.ts
Merge branch 'master' into release/3.3.0
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-caption.ts
index 9bb067001ecc9704d399c42e79e50c4b0e66f26f..1f761a86615b55a1f7b218caf54ce18195160290 100644 (file)
@@ -1,5 +1,5 @@
+import { PickWith } from '@shared/core-utils'
 import { VideoCaptionModel } from '../../../models/video/video-caption'
-import { FunctionProperties, PickWith } from '@server/types/utils'
 import { MVideo, MVideoUUID } from './video'
 
 type Use<K extends keyof VideoCaptionModel, M> = PickWith<VideoCaptionModel, K, M>
@@ -22,6 +22,6 @@ export type MVideoCaptionVideo =
 // Format for API or AP object
 
 export type MVideoCaptionFormattable =
-  FunctionProperties<MVideoCaption> &
+  MVideoCaption &
   Pick<MVideoCaption, 'language'> &
   Use<'Video', MVideoUUID>