aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-03 15:33:30 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commit97969c4edf51b37eee691adba43368bb0fbb729b (patch)
treec1089f898fb936d75651630afcf406995eeb9fba /shared/models/videos
parentaf4ae64f6faf38f8179f2e07d3cd4ad60006be92 (diff)
downloadPeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.tar.gz
PeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.tar.zst
PeerTube-97969c4edf51b37eee691adba43368bb0fbb729b.zip
Add check constraints live tests
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video-create.model.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index 9e980529d..732d508d1 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -2,15 +2,16 @@ import { VideoPrivacy } from './video-privacy.enum'
2import { VideoScheduleUpdate } from './video-schedule-update.model' 2import { VideoScheduleUpdate } from './video-schedule-update.model'
3 3
4export interface VideoCreate { 4export interface VideoCreate {
5 name: string
6 channelId: number
7
5 category?: number 8 category?: number
6 licence?: number 9 licence?: number
7 language?: string 10 language?: string
8 description?: string 11 description?: string
9 support?: string 12 support?: string
10 channelId: number
11 nsfw?: boolean 13 nsfw?: boolean
12 waitTranscoding?: boolean 14 waitTranscoding?: boolean
13 name: string
14 tags?: string[] 15 tags?: string[]
15 commentsEnabled?: boolean 16 commentsEnabled?: boolean
16 downloadEnabled?: boolean 17 downloadEnabled?: boolean