]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account-follow-interface.ts
Federate likes/dislikes
[github/Chocobozzz/PeerTube.git] / server / models / account / account-follow-interface.ts
index 6f228c790a7d1f1e00ee735894e0d9e2a3f1434e..a0d620dd0b20cd504453828aa62d22cf33c06282 100644 (file)
@@ -5,7 +5,11 @@ import { ResultList } from '../../../shared/models/result-list.model'
 import { AccountInstance } from './account-interface'
 
 export namespace AccountFollowMethods {
-  export type LoadByAccountAndTarget = (accountId: number, targetAccountId: number) => Bluebird<AccountFollowInstance>
+  export type LoadByAccountAndTarget = (
+    accountId: number,
+    targetAccountId: number,
+    t?: Sequelize.Transaction
+  ) => Bluebird<AccountFollowInstance>
 
   export type ListFollowingForApi = (id: number, start: number, count: number, sort: string) => Bluebird< ResultList<AccountFollowInstance>>
   export type ListFollowersForApi = (id: number, start: number, count: number, sort: string) => Bluebird< ResultList<AccountFollowInstance>>