aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user-video-rate-interface.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-10 22:15:25 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-10 22:15:25 +0200
commit69818c9394366b954b6ba3bd697bd9d2b09f2a16 (patch)
treead199a18ec3c322460d6f9523fc383ee562554e0 /server/models/user-video-rate-interface.ts
parent4d4e5cd4dca78480ec7f40e747f424cd107376a4 (diff)
downloadPeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.tar.gz
PeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.tar.zst
PeerTube-69818c9394366b954b6ba3bd697bd9d2b09f2a16.zip
Type functions
Diffstat (limited to 'server/models/user-video-rate-interface.ts')
-rw-r--r--server/models/user-video-rate-interface.ts3
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 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2 2
3export namespace UserVideoRateMethods { 3export 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
15export interface UserVideoRateInstance extends Sequelize.Instance<UserVideoRateAttributes> { 16export 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