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