diff options
Diffstat (limited to 'server/models/request-video-event.ts')
-rw-r--r-- | server/models/request-video-event.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request-video-event.ts b/server/models/request-video-event.ts index e422649af..32438b581 100644 --- a/server/models/request-video-event.ts +++ b/server/models/request-video-event.ts | |||
@@ -24,8 +24,8 @@ let listWithLimitAndRandom: RequestVideoEventMethods.ListWithLimitAndRandom | |||
24 | let removeByRequestIdsAndPod: RequestVideoEventMethods.RemoveByRequestIdsAndPod | 24 | let removeByRequestIdsAndPod: RequestVideoEventMethods.RemoveByRequestIdsAndPod |
25 | let removeAll: RequestVideoEventMethods.RemoveAll | 25 | let removeAll: RequestVideoEventMethods.RemoveAll |
26 | 26 | ||
27 | export default function (sequelize, DataTypes) { | 27 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
28 | RequestVideoEvent = sequelize.define('RequestVideoEvent', | 28 | RequestVideoEvent = sequelize.define<RequestVideoEventInstance, RequestVideoEventAttributes>('RequestVideoEvent', |
29 | { | 29 | { |
30 | type: { | 30 | type: { |
31 | type: DataTypes.ENUM(values(REQUEST_VIDEO_EVENT_TYPES)), | 31 | type: DataTypes.ENUM(values(REQUEST_VIDEO_EVENT_TYPES)), |