]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-change-ownership.model.ts
Share playlists state
[github/Chocobozzz/PeerTube.git] / shared / models / 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 }