PeerTube/shared/models/videos/change-ownership/video-change-ownership.mode...

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'
}