diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-17 10:47:22 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-01 16:41:02 +0200 |
commit | 86521a67b2edb06a139b095e489c205457eaba8f (patch) | |
tree | 3a0106ab146c3d8436ce502a43d38838800c4595 /shared | |
parent | 9b4241e33bf46c4f0468565ce41ca7f810b2dbfa (diff) | |
download | PeerTube-86521a67b2edb06a139b095e489c205457eaba8f.tar.gz PeerTube-86521a67b2edb06a139b095e489c205457eaba8f.tar.zst PeerTube-86521a67b2edb06a139b095e489c205457eaba8f.zip |
Add video channel and video thumbnail, rework video appearance in row
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/abuse/video-abuse.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/videos/abuse/video-abuse.model.ts b/shared/models/videos/abuse/video-abuse.model.ts index b47ee05a0..953193e5e 100644 --- a/shared/models/videos/abuse/video-abuse.model.ts +++ b/shared/models/videos/abuse/video-abuse.model.ts | |||
@@ -1,6 +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 | 5 | ||
5 | export interface VideoAbuse { | 6 | export interface VideoAbuse { |
6 | id: number | 7 | id: number |
@@ -16,6 +17,9 @@ export interface VideoAbuse { | |||
16 | uuid: string | 17 | uuid: string |
17 | nsfw: boolean | 18 | nsfw: boolean |
18 | deleted: boolean | 19 | deleted: boolean |
20 | blacklisted: boolean | ||
21 | thumbnailPath?: string | ||
22 | channel?: VideoChannelSummary | ||
19 | } | 23 | } |
20 | 24 | ||
21 | createdAt: Date | 25 | createdAt: Date |