From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- server/typings/models/video/video-abuse.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'server/typings/models/video/video-abuse.ts') diff --git a/server/typings/models/video/video-abuse.ts b/server/typings/models/video/video-abuse.ts index e38c3f586..955ec4780 100644 --- a/server/typings/models/video/video-abuse.ts +++ b/server/typings/models/video/video-abuse.ts @@ -13,11 +13,13 @@ export type MVideoAbuse = Omit -export type MVideoAbuseVideo = MVideoAbuse & +export type MVideoAbuseVideo = + MVideoAbuse & Pick & Use<'Video', MVideo> -export type MVideoAbuseAccountVideo = MVideoAbuse & +export type MVideoAbuseAccountVideo = + MVideoAbuse & Pick & Use<'Video', MVideo> & Use<'Account', MAccountDefault> @@ -26,6 +28,7 @@ export type MVideoAbuseAccountVideo = MVideoAbuse & // Format for API or AP object -export type MVideoAbuseFormattable = MVideoAbuse & +export type MVideoAbuseFormattable = + MVideoAbuse & Use<'Account', MAccountFormattable> & Use<'Video', Pick> -- cgit v1.2.3