X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Ftypings%2Fmodels%2Fvideo%2Fvideo-abuse.ts;h=54acccdf5a7290581bc270ab4ce06ba4a1c60a4b;hb=86521a67b2edb06a139b095e489c205457eaba8f;hp=49bd1ff2e7e9e20d585935ce188ab14199d516d2;hpb=9b4241e33bf46c4f0468565ce41ca7f810b2dbfa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/typings/models/video/video-abuse.ts b/server/typings/models/video/video-abuse.ts index 49bd1ff2e..54acccdf5 100644 --- a/server/typings/models/video/video-abuse.ts +++ b/server/typings/models/video/video-abuse.ts @@ -1,6 +1,6 @@ import { VideoAbuseModel } from '../../../models/video/video-abuse' import { PickWith } from '../../utils' -import { MVideo } from './video' +import { MVideoAccountLightBlacklistAllFiles } from './video' import { MAccountDefault, MAccountFormattable } from '../account' type Use = PickWith @@ -16,12 +16,12 @@ export type MVideoAbuseId = Pick export type MVideoAbuseVideo = MVideoAbuse & Pick & - Use<'Video', MVideo> + Use<'Video', MVideoAccountLightBlacklistAllFiles> export type MVideoAbuseAccountVideo = MVideoAbuse & Pick & - Use<'Video', MVideo> & + Use<'Video', MVideoAccountLightBlacklistAllFiles> & Use<'Account', MAccountDefault> // ############################################################################ @@ -31,4 +31,5 @@ export type MVideoAbuseAccountVideo = export type MVideoAbuseFormattable = MVideoAbuse & Use<'Account', MAccountFormattable> & - Use<'Video', Pick> + Use<'Video', Pick>