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-rate.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'server/typings/models/video/video-rate.ts') diff --git a/server/typings/models/video/video-rate.ts b/server/typings/models/video/video-rate.ts index f6bb527fc..64ce4965b 100644 --- a/server/typings/models/video/video-rate.ts +++ b/server/typings/models/video/video-rate.ts @@ -9,10 +9,12 @@ type Use = PickWith -export type MAccountVideoRateAccountUrl = MAccountVideoRate & +export type MAccountVideoRateAccountUrl = + MAccountVideoRate & Use<'Account', MAccountUrl> -export type MAccountVideoRateAccountVideo = MAccountVideoRate & +export type MAccountVideoRateAccountVideo = + MAccountVideoRate & Use<'Account', MAccountAudience> & Use<'Video', MVideo> @@ -20,5 +22,6 @@ export type MAccountVideoRateAccountVideo = MAccountVideoRate & // Format for API or AP object -export type MAccountVideoRateFormattable = Pick & +export type MAccountVideoRateFormattable = + Pick & Use<'Video', MVideoFormattable> -- cgit v1.2.3