diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/abuse/video-abuse.model.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/shared/models/videos/abuse/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts index 953193e5e..f2c2cdc41 100644 --- a/shared/models/videos/abuse/video-abuse.model.ts +++ b/shared/models/videos/abuse/video-abuse.model.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Account } from '../../actors/index' | 1 | import { Account } from '../../actors/index' |
2 | import { VideoConstant } from '../video-constant.model' | 2 | import { VideoConstant } from '../video-constant.model' |
3 | import { VideoAbuseState } from './video-abuse-state.model' | 3 | import { VideoAbuseState } from './video-abuse-state.model' |
4 | import { VideoChannelSummary } from '../channel/video-channel.model' | 4 | import { VideoChannel } from '../channel/video-channel.model' |
5 | 5 | ||
6 | export interface VideoAbuse { | 6 | export interface VideoAbuse { |
7 | id: number | 7 | id: number |
@@ -19,8 +19,15 @@ export interface VideoAbuse { | |||
19 | deleted: boolean | 19 | deleted: boolean |
20 | blacklisted: boolean | 20 | blacklisted: boolean |
21 | thumbnailPath?: string | 21 | thumbnailPath?: string |
22 | channel?: VideoChannelSummary | 22 | channel?: VideoChannel |
23 | } | 23 | } |
24 | 24 | ||
25 | createdAt: Date | 25 | createdAt: Date |
26 | updatedAt: Date | ||
27 | |||
28 | count?: number | ||
29 | nth?: number | ||
30 | |||
31 | countReportsForReporter?: number | ||
32 | countReportsForReportee?: number | ||
26 | } | 33 | } |