diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 09:45:46 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 09:45:46 +0200 |
commit | 74889a71fe687dda74f2a687653122327807af36 (patch) | |
tree | e938e8b6401b74fbec80513a877d9967f2c0dbcd /server/models/user-video-rate-interface.ts | |
parent | 15a302943d84bc0978b84fe33110c4daa451d311 (diff) | |
download | PeerTube-74889a71fe687dda74f2a687653122327807af36.tar.gz PeerTube-74889a71fe687dda74f2a687653122327807af36.tar.zst PeerTube-74889a71fe687dda74f2a687653122327807af36.zip |
Reorganize model files
Diffstat (limited to 'server/models/user-video-rate-interface.ts')
-rw-r--r-- | server/models/user-video-rate-interface.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/server/models/user-video-rate-interface.ts b/server/models/user-video-rate-interface.ts deleted file mode 100644 index e48869fd2..000000000 --- a/server/models/user-video-rate-interface.ts +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import * as Sequelize from 'sequelize' | ||
2 | |||
3 | export namespace UserVideoRateMethods { | ||
4 | export type LoadCallback = (err: Error, userVideoRateInstance: UserVideoRateInstance) => void | ||
5 | export type Load = (userId, videoId, transaction, callback) => void | ||
6 | } | ||
7 | |||
8 | export interface UserVideoRateClass { | ||
9 | load: UserVideoRateMethods.Load | ||
10 | } | ||
11 | |||
12 | export interface UserVideoRateAttributes { | ||
13 | type: string | ||
14 | } | ||
15 | |||
16 | export interface UserVideoRateInstance extends UserVideoRateClass, UserVideoRateAttributes, Sequelize.Instance<UserVideoRateAttributes> { | ||
17 | id: number | ||
18 | createdAt: Date | ||
19 | updatedAt: Date | ||
20 | } | ||
21 | |||
22 | export interface UserVideoRateModel extends UserVideoRateClass, Sequelize.Model<UserVideoRateInstance, UserVideoRateAttributes> {} | ||