diff options
Diffstat (limited to 'server/models/user-video-rate-interface.ts')
-rw-r--r-- | server/models/user-video-rate-interface.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/user-video-rate-interface.ts b/server/models/user-video-rate-interface.ts index 57d2e2b91..e48869fd2 100644 --- a/server/models/user-video-rate-interface.ts +++ b/server/models/user-video-rate-interface.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | 2 | ||
3 | export namespace UserVideoRateMethods { | 3 | export namespace UserVideoRateMethods { |
4 | export type LoadCallback = (err: Error, userVideoRateInstance: UserVideoRateInstance) => void | ||
4 | export type Load = (userId, videoId, transaction, callback) => void | 5 | export type Load = (userId, videoId, transaction, callback) => void |
5 | } | 6 | } |
6 | 7 | ||
@@ -12,7 +13,7 @@ export interface UserVideoRateAttributes { | |||
12 | type: string | 13 | type: string |
13 | } | 14 | } |
14 | 15 | ||
15 | export interface UserVideoRateInstance extends Sequelize.Instance<UserVideoRateAttributes> { | 16 | export interface UserVideoRateInstance extends UserVideoRateClass, UserVideoRateAttributes, Sequelize.Instance<UserVideoRateAttributes> { |
16 | id: number | 17 | id: number |
17 | createdAt: Date | 18 | createdAt: Date |
18 | updatedAt: Date | 19 | updatedAt: Date |