video-abuse.model.ts 405 B

1234567891011121314151617181920
  1. import { Account } from '../../actors/index'
  2. import { VideoConstant } from '../video-constant.model'
  3. import { VideoAbuseState } from './video-abuse-state.model'
  4. export interface VideoAbuse {
  5. id: number
  6. reason: string
  7. reporterAccount: Account
  8. state: VideoConstant<VideoAbuseState>
  9. moderationComment?: string
  10. video: {
  11. id: number
  12. name: string
  13. uuid: string
  14. }
  15. createdAt: Date
  16. }