+import { PickWith, PickWithOpt } from '@shared/typescript-utils'
import { VideoCommentModel } from '../../../models/video/video-comment'
-import { PickWith, PickWithOpt } from '@shared/core-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>
MCommentTotalReplies &
Use<'Account', MAccountFormattable>
+export type MCommentAdminFormattable =
+ MComment &
+ Use<'Account', MAccountFormattable> &
+ Use<'Video', MVideo>
+
export type MCommentAP =
MComment &
Use<'Account', MAccountUrl> &