]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-create.model.ts
Merge branch 'feature/correctly-send-activities' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
index 531eafe5415c8cebf2b7689fac07d4815d70b003..190d637832719d744d45f8430b47584134ec1686 100644 (file)
@@ -1,4 +1,5 @@
 import { VideoPrivacy } from './video-privacy.enum'
+import { VideoScheduleUpdate } from './video-schedule-update.model'
 
 export interface VideoCreate {
   category?: number
@@ -13,8 +14,5 @@ export interface VideoCreate {
   tags?: string[]
   commentsEnabled?: boolean
   privacy: VideoPrivacy
-  scheduleUpdate?: {
-    updateAt: Date
-    privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
-  }
+  scheduleUpdate?: VideoScheduleUpdate
 }