aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-change-ownership.model.ts
blob: a9b1a17f3c9030a28e9d1196b58f1194b190bf8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 enum VideoChangeOwnershipStatus {
  WAITING = 'WAITING',
  ACCEPTED = 'ACCEPTED',
  REFUSED = 'REFUSED'
}