aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-change-ownership.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos/video-change-ownership.model.ts')
-rw-r--r--shared/models/videos/video-change-ownership.model.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/shared/models/videos/video-change-ownership.model.ts b/shared/models/videos/video-change-ownership.model.ts
new file mode 100644
index 000000000..0d735c798
--- /dev/null
+++ b/shared/models/videos/video-change-ownership.model.ts
@@ -0,0 +1,21 @@
1import { Account } from '../actors'
2
3export 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
17export enum VideoChangeOwnershipStatus {
18 WAITING = 'WAITING',
19 ACCEPTED = 'ACCEPTED',
20 REFUSED = 'REFUSED'
21}