From 453e83ea5d81d203ba34bc43cd5c2c750ba40568 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 15 Aug 2019 11:53:26 +0200 Subject: Stronger model typings --- server/typings/models/video/video-rate.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 server/typings/models/video/video-rate.ts (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 new file mode 100644 index 000000000..6eefe6362 --- /dev/null +++ b/server/typings/models/video/video-rate.ts @@ -0,0 +1,12 @@ +import { AccountVideoRateModel } from '@server/models/account/account-video-rate' +import { PickWith } from '@server/typings/utils' +import { MAccountAudience, MAccountUrl, MVideo } from '..' + +export type MAccountVideoRate = Omit + +export type MAccountVideoRateAccountUrl = MAccountVideoRate & + PickWith + +export type MAccountVideoRateAccountVideo = MAccountVideoRate & + PickWith & + PickWith -- cgit v1.2.3