]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/video/video-comment.ts
Don't fail remote transcoding on retry
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-comment.ts
index d6e0b66f545aeaadf5aa05db03bd039887b046b3..b66de064f401e490f62ac8e1dcbc25fc756cbb68 100644 (file)
@@ -1,7 +1,7 @@
+import { PickWith, PickWithOpt } from '@shared/typescript-utils'
 import { VideoCommentModel } from '../../../models/video/video-comment'
-import { PickWith, PickWithOpt } from '../../utils'
 import { MAccountDefault, MAccountFormattable, MAccountUrl } from '../account'
-import { MVideoAccountLight, MVideoFeed, MVideoIdUrl, MVideoUrl } from './video'
+import { MVideo, MVideoAccountLight, MVideoFeed, MVideoIdUrl, MVideoUrl } from './video'
 
 type Use<K extends keyof VideoCommentModel, M> = PickWith<VideoCommentModel, K, M>
 
@@ -59,6 +59,11 @@ export type MCommentFormattable =
   MCommentTotalReplies &
   Use<'Account', MAccountFormattable>
 
+export type MCommentAdminFormattable =
+  MComment &
+  Use<'Account', MAccountFormattable> &
+  Use<'Video', MVideo>
+
 export type MCommentAP =
   MComment &
   Use<'Account', MAccountUrl> &