aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-change-ownership.model.ts
blob: 0d735c7985ed62614a562e9c1c18af45a479e10d (plain) (tree)




















                                        
import { Account } from '../actors'

export interface VideoChangeOwnership {
  id: number
  status: VideoChangeOwnershipStatus
  initiatorAccount: Account
  nextOwnerAccount: Account
  video: {
    id: number
    name: string
    uuid: string
    url: string
  }
  createdAt: Date
}

export enum VideoChangeOwnershipStatus {
  WAITING = 'WAITING',
  ACCEPTED = 'ACCEPTED',
  REFUSED = 'REFUSED'
}