Chocobozzz/PeerTube

View on GitHub
packages/models/src/moderation/abuse/abuse-create.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { AbusePredefinedReasonsString } from './abuse-reason.model.js'

export interface AbuseCreate {
  reason: string

  predefinedReasons?: AbusePredefinedReasonsString[]

  account?: {
    id: number
  }

  video?: {
    id: number | string
    startAt?: number
    endAt?: number
  }

  comment?: {
    id: number
  }
}