1
0
Fork 0
peertube/shared/models/videos/video-change-ownership.model.ts
2020-08-07 08:28:14 +02:00

17 lines
376 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'
}