diff options
Diffstat (limited to 'shared/models/videos/change-ownership')
4 files changed, 0 insertions, 26 deletions
diff --git a/shared/models/videos/change-ownership/index.ts b/shared/models/videos/change-ownership/index.ts deleted file mode 100644 index a942fb2cd..000000000 --- a/shared/models/videos/change-ownership/index.ts +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | export * from './video-change-ownership-accept.model' | ||
2 | export * from './video-change-ownership-create.model' | ||
3 | export * from './video-change-ownership.model' | ||
diff --git a/shared/models/videos/change-ownership/video-change-ownership-accept.model.ts b/shared/models/videos/change-ownership/video-change-ownership-accept.model.ts deleted file mode 100644 index f27247633..000000000 --- a/shared/models/videos/change-ownership/video-change-ownership-accept.model.ts +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | export interface VideoChangeOwnershipAccept { | ||
2 | channelId: number | ||
3 | } | ||
diff --git a/shared/models/videos/change-ownership/video-change-ownership-create.model.ts b/shared/models/videos/change-ownership/video-change-ownership-create.model.ts deleted file mode 100644 index 40fcca285..000000000 --- a/shared/models/videos/change-ownership/video-change-ownership-create.model.ts +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | export interface VideoChangeOwnershipCreate { | ||
2 | username: string | ||
3 | } | ||
diff --git a/shared/models/videos/change-ownership/video-change-ownership.model.ts b/shared/models/videos/change-ownership/video-change-ownership.model.ts deleted file mode 100644 index 3d31cad0a..000000000 --- a/shared/models/videos/change-ownership/video-change-ownership.model.ts +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | import { Account } from '../../actors' | ||
2 | import { Video } from '../video.model' | ||
3 | |||
4 | export interface VideoChangeOwnership { | ||
5 | id: number | ||
6 | status: VideoChangeOwnershipStatus | ||
7 | initiatorAccount: Account | ||
8 | nextOwnerAccount: Account | ||
9 | video: Video | ||
10 | createdAt: Date | ||
11 | } | ||
12 | |||
13 | export const enum VideoChangeOwnershipStatus { | ||
14 | WAITING = 'WAITING', | ||
15 | ACCEPTED = 'ACCEPTED', | ||
16 | REFUSED = 'REFUSED' | ||
17 | } | ||