1 import { SafeHtml } from '@angular/platform-browser'
2 import { AdminAbuse } from '@shared/models'
3 import { Account } from '@app/shared/shared-main'
5 // Don't use an abuse model because we need external services to compute some properties
6 // And this model is only used in this component
7 export type ProcessedAbuse = AdminAbuse & {
8 moderationCommentHtml?: string,
13 // override bare server-side definitions with rich client-side definitions
14 reporterAccount?: Account
15 flaggedAccount?: Account
17 truncatedCommentHtml?: string
20 video: AdminAbuse['video'] & {
21 channel: AdminAbuse['video']['channel'] & {