diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
commit | 0aef76c479bc7fc758e70e1cd478ade46761b51b (patch) | |
tree | ed59eae3ee731c56d25cc35a382f4cc400d0dece /server/models/video/video-blacklist-interface.ts | |
parent | 93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff) | |
download | PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip |
Formated -> Formatted
Diffstat (limited to 'server/models/video/video-blacklist-interface.ts')
-rw-r--r-- | server/models/video/video-blacklist-interface.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/models/video/video-blacklist-interface.ts b/server/models/video/video-blacklist-interface.ts index cd9f19363..ba48b1b6e 100644 --- a/server/models/video/video-blacklist-interface.ts +++ b/server/models/video/video-blacklist-interface.ts | |||
@@ -4,10 +4,10 @@ import * as Promise from 'bluebird' | |||
4 | import { ResultList } from '../../../shared' | 4 | import { ResultList } from '../../../shared' |
5 | 5 | ||
6 | // Don't use barrel, import just what we need | 6 | // Don't use barrel, import just what we need |
7 | import { BlacklistedVideo as FormatedBlacklistedVideo } from '../../../shared/models/videos/video-blacklist.model' | 7 | import { BlacklistedVideo as FormattedBlacklistedVideo } from '../../../shared/models/videos/video-blacklist.model' |
8 | 8 | ||
9 | export namespace BlacklistedVideoMethods { | 9 | export namespace BlacklistedVideoMethods { |
10 | export type ToFormatedJSON = (this: BlacklistedVideoInstance) => FormatedBlacklistedVideo | 10 | export type ToFormattedJSON = (this: BlacklistedVideoInstance) => FormattedBlacklistedVideo |
11 | 11 | ||
12 | export type CountTotal = () => Promise<number> | 12 | export type CountTotal = () => Promise<number> |
13 | 13 | ||
@@ -21,7 +21,7 @@ export namespace BlacklistedVideoMethods { | |||
21 | } | 21 | } |
22 | 22 | ||
23 | export interface BlacklistedVideoClass { | 23 | export interface BlacklistedVideoClass { |
24 | toFormatedJSON: BlacklistedVideoMethods.ToFormatedJSON | 24 | toFormattedJSON: BlacklistedVideoMethods.ToFormattedJSON |
25 | countTotal: BlacklistedVideoMethods.CountTotal | 25 | countTotal: BlacklistedVideoMethods.CountTotal |
26 | list: BlacklistedVideoMethods.List | 26 | list: BlacklistedVideoMethods.List |
27 | listForApi: BlacklistedVideoMethods.ListForApi | 27 | listForApi: BlacklistedVideoMethods.ListForApi |
@@ -39,7 +39,7 @@ export interface BlacklistedVideoInstance | |||
39 | createdAt: Date | 39 | createdAt: Date |
40 | updatedAt: Date | 40 | updatedAt: Date |
41 | 41 | ||
42 | toFormatedJSON: BlacklistedVideoMethods.ToFormatedJSON | 42 | toFormattedJSON: BlacklistedVideoMethods.ToFormattedJSON |
43 | } | 43 | } |
44 | 44 | ||
45 | export interface BlacklistedVideoModel | 45 | export interface BlacklistedVideoModel |