diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-24 19:41:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | 72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch) | |
tree | 1bfdee99dbe2392cc997edba8e314e2a8a401c72 /shared/models/pods/remote-video/remote-video-channel-create-request.model.ts | |
parent | 8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff) | |
download | PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.gz PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.zst PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.zip |
Add video channels
Diffstat (limited to 'shared/models/pods/remote-video/remote-video-channel-create-request.model.ts')
-rw-r--r-- | shared/models/pods/remote-video/remote-video-channel-create-request.model.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/models/pods/remote-video/remote-video-channel-create-request.model.ts b/shared/models/pods/remote-video/remote-video-channel-create-request.model.ts new file mode 100644 index 000000000..54163a2db --- /dev/null +++ b/shared/models/pods/remote-video/remote-video-channel-create-request.model.ts | |||
@@ -0,0 +1,15 @@ | |||
1 | import { RemoteVideoRequest } from './remote-video-request.model' | ||
2 | |||
3 | export interface RemoteVideoChannelCreateData { | ||
4 | uuid: string | ||
5 | name: string | ||
6 | description: string | ||
7 | createdAt: Date | ||
8 | updatedAt: Date | ||
9 | ownerUUID: string | ||
10 | } | ||
11 | |||
12 | export interface RemoteVideoChannelCreateRequest extends RemoteVideoRequest { | ||
13 | type: 'add-channel' | ||
14 | data: RemoteVideoChannelCreateData | ||
15 | } | ||