diff options
Diffstat (limited to 'server/models/account')
-rw-r--r-- | server/models/account/account-video-rate-interface.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/account/account-video-rate-interface.ts b/server/models/account/account-video-rate-interface.ts index 316056246..1f395bc45 100644 --- a/server/models/account/account-video-rate-interface.ts +++ b/server/models/account/account-video-rate-interface.ts | |||
@@ -2,6 +2,7 @@ import * as Sequelize from 'sequelize' | |||
2 | import * as Promise from 'bluebird' | 2 | import * as Promise from 'bluebird' |
3 | 3 | ||
4 | import { VideoRateType } from '../../../shared/models/videos/video-rate.type' | 4 | import { VideoRateType } from '../../../shared/models/videos/video-rate.type' |
5 | import { AccountInstance } from './account-interface' | ||
5 | 6 | ||
6 | export namespace AccountVideoRateMethods { | 7 | export namespace AccountVideoRateMethods { |
7 | export type Load = (accountId: number, videoId: number, transaction: Sequelize.Transaction) => Promise<AccountVideoRateInstance> | 8 | export type Load = (accountId: number, videoId: number, transaction: Sequelize.Transaction) => Promise<AccountVideoRateInstance> |
@@ -15,6 +16,8 @@ export interface AccountVideoRateAttributes { | |||
15 | type: VideoRateType | 16 | type: VideoRateType |
16 | accountId: number | 17 | accountId: number |
17 | videoId: number | 18 | videoId: number |
19 | |||
20 | Account?: AccountInstance | ||
18 | } | 21 | } |
19 | 22 | ||
20 | export interface AccountVideoRateInstance | 23 | export interface AccountVideoRateInstance |