PeerTube/shared/models/videos/video-create.model.ts

14 lines
261 B
TypeScript

import { VideoPrivacy } from './video-privacy.enum'
export interface VideoCreate {
category?: number
licence?: number
language?: number
description?: string
channelId: number
nsfw: boolean
name: string
tags?: string[]
privacy: VideoPrivacy
}