From 74889a71fe687dda74f2a687653122327807af36 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Jun 2017 09:45:46 +0200 Subject: Reorganize model files --- server/models/user-video-rate-interface.ts | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 server/models/user-video-rate-interface.ts (limited to 'server/models/user-video-rate-interface.ts') 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 @@ -import * as Sequelize from 'sequelize' - -export namespace UserVideoRateMethods { - export type LoadCallback = (err: Error, userVideoRateInstance: UserVideoRateInstance) => void - export type Load = (userId, videoId, transaction, callback) => void -} - -export interface UserVideoRateClass { - load: UserVideoRateMethods.Load -} - -export interface UserVideoRateAttributes { - type: string -} - -export interface UserVideoRateInstance extends UserVideoRateClass, UserVideoRateAttributes, Sequelize.Instance { - id: number - createdAt: Date - updatedAt: Date -} - -export interface UserVideoRateModel extends UserVideoRateClass, Sequelize.Model {} -- cgit v1.2.3