]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - videos/video-change-ownership.model.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / videos / video-change-ownership.model.ts
1 import { Account } from '../actors'
2
3 export interface VideoChangeOwnership {
4 id: number
5 status: VideoChangeOwnershipStatus
6 initiatorAccount: Account
7 nextOwnerAccount: Account
8 video: {
9 id: number
10 name: string
11 uuid: string
12 url: string
13 }
14 createdAt: Date
15 }
16
17 export enum VideoChangeOwnershipStatus {
18 WAITING = 'WAITING',
19 ACCEPTED = 'ACCEPTED',
20 REFUSED = 'REFUSED'
21 }