]>
Commit | Line | Data |
---|---|---|
74d63469 GR |
1 | import { Account } from '../actors' |
2 | ||
3 | export interface VideoChangeOwnership { | |
4 | id: number | |
5 | status: VideoChangeOwnershipStatus | |
6 | initiatorAccount: Account | |
7 | nextOwnerAccount: Account | |
8 | video: { | |
9 | id: number | |
10 | name: string | |
11 | uuid: string | |
12 | url: string | |
13 | } | |
14 | createdAt: Date | |
15 | } | |
16 | ||
17 | export enum VideoChangeOwnershipStatus { | |
18 | WAITING = 'WAITING', | |
19 | ACCEPTED = 'ACCEPTED', | |
20 | REFUSED = 'REFUSED' | |
21 | } |