video-create.model.ts 511 B

1234567891011121314151617181920
  1. import { VideoPrivacy } from './video-privacy.enum'
  2. import { VideoScheduleUpdate } from './video-schedule-update.model'
  3. export interface VideoCreate {
  4. category?: number
  5. licence?: number
  6. language?: string
  7. description?: string
  8. support?: string
  9. channelId: number
  10. nsfw?: boolean
  11. waitTranscoding?: boolean
  12. name: string
  13. tags?: string[]
  14. commentsEnabled?: boolean
  15. downloadEnabled?: boolean
  16. privacy: VideoPrivacy
  17. scheduleUpdate?: VideoScheduleUpdate
  18. originallyPublishedAt: Date | string
  19. }