diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 09:54:59 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-16 09:54:59 +0200 |
commit | 70c065d64c330196d371941d9294a55da6e3aa37 (patch) | |
tree | 4532a9611502135bedb1cc6009c706e31f1f9be4 /server/models/pod/pod-interface.ts | |
parent | 74889a71fe687dda74f2a687653122327807af36 (diff) | |
download | PeerTube-70c065d64c330196d371941d9294a55da6e3aa37.tar.gz PeerTube-70c065d64c330196d371941d9294a55da6e3aa37.tar.zst PeerTube-70c065d64c330196d371941d9294a55da6e3aa37.zip |
Add this context to instance model functions
Diffstat (limited to 'server/models/pod/pod-interface.ts')
-rw-r--r-- | server/models/pod/pod-interface.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/pod/pod-interface.ts b/server/models/pod/pod-interface.ts index 01ccda64c..d88847c45 100644 --- a/server/models/pod/pod-interface.ts +++ b/server/models/pod/pod-interface.ts | |||
@@ -4,7 +4,7 @@ import * as Sequelize from 'sequelize' | |||
4 | import { Pod as FormatedPod } from '../../../shared/models/pod.model' | 4 | import { Pod as FormatedPod } from '../../../shared/models/pod.model' |
5 | 5 | ||
6 | export namespace PodMethods { | 6 | export namespace PodMethods { |
7 | export type ToFormatedJSON = () => FormatedPod | 7 | export type ToFormatedJSON = (this: PodInstance) => FormatedPod |
8 | 8 | ||
9 | export type CountAllCallback = (err: Error, total: number) => void | 9 | export type CountAllCallback = (err: Error, total: number) => void |
10 | export type CountAll = (callback) => void | 10 | export type CountAll = (callback) => void |