diff options
Diffstat (limited to 'shared/models/videos/blacklist')
4 files changed, 0 insertions, 28 deletions
diff --git a/shared/models/videos/blacklist/index.ts b/shared/models/videos/blacklist/index.ts deleted file mode 100644 index 66082be34..000000000 --- a/shared/models/videos/blacklist/index.ts +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | export * from './video-blacklist.model' | ||
2 | export * from './video-blacklist-create.model' | ||
3 | export * from './video-blacklist-update.model' | ||
diff --git a/shared/models/videos/blacklist/video-blacklist-create.model.ts b/shared/models/videos/blacklist/video-blacklist-create.model.ts deleted file mode 100644 index 6e7d36421..000000000 --- a/shared/models/videos/blacklist/video-blacklist-create.model.ts +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | export interface VideoBlacklistCreate { | ||
2 | reason?: string | ||
3 | unfederate?: boolean | ||
4 | } | ||
diff --git a/shared/models/videos/blacklist/video-blacklist-update.model.ts b/shared/models/videos/blacklist/video-blacklist-update.model.ts deleted file mode 100644 index 0a86cf7b0..000000000 --- a/shared/models/videos/blacklist/video-blacklist-update.model.ts +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | export interface VideoBlacklistUpdate { | ||
2 | reason?: string | ||
3 | } | ||
diff --git a/shared/models/videos/blacklist/video-blacklist.model.ts b/shared/models/videos/blacklist/video-blacklist.model.ts deleted file mode 100644 index 982a34592..000000000 --- a/shared/models/videos/blacklist/video-blacklist.model.ts +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | import { Video } from '../video.model' | ||
2 | |||
3 | export const enum VideoBlacklistType { | ||
4 | MANUAL = 1, | ||
5 | AUTO_BEFORE_PUBLISHED = 2 | ||
6 | } | ||
7 | |||
8 | export interface VideoBlacklist { | ||
9 | id: number | ||
10 | unfederated: boolean | ||
11 | reason?: string | ||
12 | type: VideoBlacklistType | ||
13 | |||
14 | video: Video | ||
15 | |||
16 | createdAt: Date | ||
17 | updatedAt: Date | ||
18 | } | ||