diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 17:35:32 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 17:35:32 +0200 |
commit | 127944aacb52721877449a1f202dc0add866ef39 (patch) | |
tree | 73ac935c7dfc73dca92d15ed52266e40ba9af57a /server/models/video-blacklist.ts | |
parent | 294f80f21e8a77d25f6fb5f0f26887fb4618ee2e (diff) | |
download | PeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.gz PeerTube-127944aacb52721877449a1f202dc0add866ef39.tar.zst PeerTube-127944aacb52721877449a1f202dc0add866ef39.zip |
Better models define typing
Diffstat (limited to 'server/models/video-blacklist.ts')
-rw-r--r-- | server/models/video-blacklist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video-blacklist.ts b/server/models/video-blacklist.ts index f36756085..040ed03d7 100644 --- a/server/models/video-blacklist.ts +++ b/server/models/video-blacklist.ts | |||
@@ -17,8 +17,8 @@ let listForApi: BlacklistedVideoMethods.ListForApi | |||
17 | let loadById: BlacklistedVideoMethods.LoadById | 17 | let loadById: BlacklistedVideoMethods.LoadById |
18 | let loadByVideoId: BlacklistedVideoMethods.LoadByVideoId | 18 | let loadByVideoId: BlacklistedVideoMethods.LoadByVideoId |
19 | 19 | ||
20 | export default function (sequelize, DataTypes) { | 20 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
21 | BlacklistedVideo = sequelize.define('BlacklistedVideo', | 21 | BlacklistedVideo = sequelize.define<BlacklistedVideoInstance, BlacklistedVideoAttributes>('BlacklistedVideo', |
22 | {}, | 22 | {}, |
23 | { | 23 | { |
24 | indexes: [ | 24 | indexes: [ |