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

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