diff options
Diffstat (limited to 'server/models/video/video-blacklist-interface.ts')
-rw-r--r-- | server/models/video/video-blacklist-interface.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/server/models/video/video-blacklist-interface.ts b/server/models/video/video-blacklist-interface.ts index 9d167c037..be2483d4c 100644 --- a/server/models/video/video-blacklist-interface.ts +++ b/server/models/video/video-blacklist-interface.ts | |||
@@ -10,24 +10,13 @@ import { BlacklistedVideo as FormattedBlacklistedVideo } from '../../../shared/m | |||
10 | 10 | ||
11 | export namespace BlacklistedVideoMethods { | 11 | export namespace BlacklistedVideoMethods { |
12 | export type ToFormattedJSON = (this: BlacklistedVideoInstance) => FormattedBlacklistedVideo | 12 | export type ToFormattedJSON = (this: BlacklistedVideoInstance) => FormattedBlacklistedVideo |
13 | |||
14 | export type CountTotal = () => Promise<number> | ||
15 | |||
16 | export type List = () => Promise<BlacklistedVideoInstance[]> | ||
17 | |||
18 | export type ListForApi = (start: number, count: number, sort: SortType) => Promise< ResultList<BlacklistedVideoInstance> > | 13 | export type ListForApi = (start: number, count: number, sort: SortType) => Promise< ResultList<BlacklistedVideoInstance> > |
19 | |||
20 | export type LoadById = (id: number) => Promise<BlacklistedVideoInstance> | ||
21 | |||
22 | export type LoadByVideoId = (id: number) => Promise<BlacklistedVideoInstance> | 14 | export type LoadByVideoId = (id: number) => Promise<BlacklistedVideoInstance> |
23 | } | 15 | } |
24 | 16 | ||
25 | export interface BlacklistedVideoClass { | 17 | export interface BlacklistedVideoClass { |
26 | toFormattedJSON: BlacklistedVideoMethods.ToFormattedJSON | 18 | toFormattedJSON: BlacklistedVideoMethods.ToFormattedJSON |
27 | countTotal: BlacklistedVideoMethods.CountTotal | ||
28 | list: BlacklistedVideoMethods.List | ||
29 | listForApi: BlacklistedVideoMethods.ListForApi | 19 | listForApi: BlacklistedVideoMethods.ListForApi |
30 | loadById: BlacklistedVideoMethods.LoadById | ||
31 | loadByVideoId: BlacklistedVideoMethods.LoadByVideoId | 20 | loadByVideoId: BlacklistedVideoMethods.LoadByVideoId |
32 | } | 21 | } |
33 | 22 | ||