aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/change-ownership/video-change-ownership.model.ts
blob: 3d31cad0a895f09b3c97e09862384d9087629540 (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'
}