aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/channel
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-14 14:59:53 +0200
committerChocobozzz <me@florianbigard.com>2018-08-14 15:00:01 +0200
commit59c76ffa8f503e962d517c78f033f1beccb1de1a (patch)
treed567991b10cffd59322dd679d5188e7d1ec7ddce /shared/models/videos/channel
parent13b6dc1f3437560c55a5dfc3a94a2b162654e5c9 (diff)
downloadPeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.gz
PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.zst
PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.zip
Flat shared module directory
Diffstat (limited to 'shared/models/videos/channel')
-rw-r--r--shared/models/videos/channel/video-channel-create.model.ts5
-rw-r--r--shared/models/videos/channel/video-channel-update.model.ts5
-rw-r--r--shared/models/videos/channel/video-channel.model.ts11
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 @@
1export 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 @@
1export 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 @@
1import { Actor } from '../../actors/actor.model'
2import { Video } from '../video.model'
3import { Account } from '../../actors/index'
4
5export interface VideoChannel extends Actor {
6 displayName: string
7 description: string
8 support: string
9 isLocal: boolean
10 ownerAccount?: Account
11}