diff options
Diffstat (limited to 'shared/models/videos/channel')
3 files changed, 21 insertions, 0 deletions
diff --git a/shared/models/videos/channel/video-channel-create.model.ts b/shared/models/videos/channel/video-channel-create.model.ts new file mode 100644 index 000000000..08cd5fb84 --- /dev/null +++ b/shared/models/videos/channel/video-channel-create.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface VideoChannelCreate { | ||
2 | displayName: string | ||
3 | description?: string | ||
4 | support?: string | ||
5 | } | ||
diff --git a/shared/models/videos/channel/video-channel-update.model.ts b/shared/models/videos/channel/video-channel-update.model.ts new file mode 100644 index 000000000..3626ce8a9 --- /dev/null +++ b/shared/models/videos/channel/video-channel-update.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface VideoChannelUpdate { | ||
2 | displayName: string | ||
3 | description?: string | ||
4 | support?: string | ||
5 | } | ||
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts new file mode 100644 index 000000000..92918f66c --- /dev/null +++ b/shared/models/videos/channel/video-channel.model.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { Actor } from '../../actors/actor.model' | ||
2 | import { Video } from '../video.model' | ||
3 | import { Account } from '../../actors/index' | ||
4 | |||
5 | export interface VideoChannel extends Actor { | ||
6 | displayName: string | ||
7 | description: string | ||
8 | support: string | ||
9 | isLocal: boolean | ||
10 | ownerAccount?: Account | ||
11 | } | ||