]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/video/video-caption.ts
Support video views/viewers stats in server
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-caption.ts
index ab80ff8305c9bb73cc92cad918e68d3669fb8692..8cd80106458bdd78a8faffd83cccef59c2316fdf 100644 (file)
@@ -1,5 +1,5 @@
+import { PickWith } from '@shared/typescript-utils'
 import { VideoCaptionModel } from '../../../models/video/video-caption'
-import { FunctionProperties, PickWith } from '@shared/core-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>