mirror of https://github.com/Chocobozzz/PeerTube
18 lines
380 B
TypeScript
18 lines
380 B
TypeScript
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 const enum VideoChangeOwnershipStatus {
|
|
WAITING = 'WAITING',
|
|
ACCEPTED = 'ACCEPTED',
|
|
REFUSED = 'REFUSED'
|
|
}
|