video-change-ownership.model.ts 397 B

123456789101112131415161718192021
  1. import { Account } from '../actors'
  2. export interface VideoChangeOwnership {
  3. id: number
  4. status: VideoChangeOwnershipStatus
  5. initiatorAccount: Account
  6. nextOwnerAccount: Account
  7. video: {
  8. id: number
  9. name: string
  10. uuid: string
  11. url: string
  12. }
  13. createdAt: Date
  14. }
  15. export enum VideoChangeOwnershipStatus {
  16. WAITING = 'WAITING',
  17. ACCEPTED = 'ACCEPTED',
  18. REFUSED = 'REFUSED'
  19. }