aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-change-ownership.model.ts
blob: 669c7f3e744672d5e03051149fb0b2be9ec13845 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   
                                     





                                       
              


                 
                                              



                        
import { Account } from '../actors'
import { Video } from './video.model'

export interface VideoChangeOwnership {
  id: number
  status: VideoChangeOwnershipStatus
  initiatorAccount: Account
  nextOwnerAccount: Account
  video: Video
  createdAt: Date
}

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