From 98ec8b8e73a918d5680e6f13aaef56ca8756c2a8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Nov 2017 13:16:23 +0100 Subject: Fix lint --- server/models/video/video-channel-share-interface.ts | 5 ++--- server/models/video/video-share-interface.ts | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'server/models') diff --git a/server/models/video/video-channel-share-interface.ts b/server/models/video/video-channel-share-interface.ts index 0482e8297..2fff41a1b 100644 --- a/server/models/video/video-channel-share-interface.ts +++ b/server/models/video/video-channel-share-interface.ts @@ -1,12 +1,11 @@ import * as Bluebird from 'bluebird' import * as Sequelize from 'sequelize' -import { Transaction } from 'sequelize' import { AccountInstance } from '../account/account-interface' import { VideoChannelInstance } from './video-channel-interface' export namespace VideoChannelShareMethods { - export type LoadAccountsByShare = (videoChannelId: number, t: Transaction) => Bluebird - export type Load = (accountId: number, videoId: number, t: Transaction) => Bluebird + export type LoadAccountsByShare = (videoChannelId: number, t: Sequelize.Transaction) => Bluebird + export type Load = (accountId: number, videoId: number, t: Sequelize.Transaction) => Bluebird } export interface VideoChannelShareClass { diff --git a/server/models/video/video-share-interface.ts b/server/models/video/video-share-interface.ts index 8ad10e095..3946303f1 100644 --- a/server/models/video/video-share-interface.ts +++ b/server/models/video/video-share-interface.ts @@ -1,12 +1,11 @@ import * as Bluebird from 'bluebird' import * as Sequelize from 'sequelize' -import { Transaction } from 'sequelize' import { AccountInstance } from '../account/account-interface' import { VideoInstance } from './video-interface' export namespace VideoShareMethods { - export type LoadAccountsByShare = (videoId: number, t: Transaction) => Bluebird - export type Load = (accountId: number, videoId: number, t: Transaction) => Bluebird + export type LoadAccountsByShare = (videoId: number, t: Sequelize.Transaction) => Bluebird + export type Load = (accountId: number, videoId: number, t: Sequelize.Transaction) => Bluebird } export interface VideoShareClass { -- cgit v1.2.3