]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/change-ownership/video-change-ownership.model.ts
Merge branch 'release/3.2.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / videos / change-ownership / video-change-ownership.model.ts
CommitLineData
2b02c520
C
1import { Account } from '../../actors'
2import { Video } from '../video.model'
74d63469
GR
3
4export interface VideoChangeOwnership {
5 id: number
6 status: VideoChangeOwnershipStatus
7 initiatorAccount: Account
8 nextOwnerAccount: Account
b8b3abac 9 video: Video
74d63469
GR
10 createdAt: Date
11}
12
bd45d503 13export const enum VideoChangeOwnershipStatus {
74d63469
GR
14 WAITING = 'WAITING',
15 ACCEPTED = 'ACCEPTED',
16 REFUSED = 'REFUSED'
17}