X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftypes%2Fmodels%2Fvideo%2Fvideo-change-ownership.ts;h=6cad48e4a91c9a8f7dbbd976a451c2f0e46d174a;hb=7d9ba5c08999c6482f0bc5e0c09c6f55b7724090;hp=7421e081e4bc848c46041258b6474764e24edd8b;hpb=26d6bf6533023326fa017812cf31bbe20c752d36;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/types/models/video/video-change-ownership.ts b/server/types/models/video/video-change-ownership.ts index 7421e081e..6cad48e4a 100644 --- a/server/types/models/video/video-change-ownership.ts +++ b/server/types/models/video/video-change-ownership.ts @@ -1,7 +1,7 @@ import { VideoChangeOwnershipModel } from '@server/models/video/video-change-ownership' -import { PickWith } from '@server/types/utils' +import { PickWith } from '@shared/core-utils' import { MAccountDefault, MAccountFormattable } from '../account/account' -import { MVideo, MVideoWithAllFiles } from './video' +import { MVideoWithAllFiles, MVideoFormattable } from './video' type Use = PickWith @@ -23,4 +23,4 @@ export type MVideoChangeOwnershipFormattable = Pick & Use<'Initiator', MAccountFormattable> & Use<'NextOwner', MAccountFormattable> & - Use<'Video', Pick> + Use<'Video', MVideoFormattable>