diff options
Diffstat (limited to 'packages/models/src/videos/video-create.model.ts')
-rw-r--r-- | packages/models/src/videos/video-create.model.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/models/src/videos/video-create.model.ts b/packages/models/src/videos/video-create.model.ts new file mode 100644 index 000000000..472201211 --- /dev/null +++ b/packages/models/src/videos/video-create.model.ts | |||
@@ -0,0 +1,25 @@ | |||
1 | import { VideoPrivacyType } from './video-privacy.enum.js' | ||
2 | import { VideoScheduleUpdate } from './video-schedule-update.model.js' | ||
3 | |||
4 | export interface VideoCreate { | ||
5 | name: string | ||
6 | channelId: number | ||
7 | |||
8 | category?: number | ||
9 | licence?: number | ||
10 | language?: string | ||
11 | description?: string | ||
12 | support?: string | ||
13 | nsfw?: boolean | ||
14 | waitTranscoding?: boolean | ||
15 | tags?: string[] | ||
16 | commentsEnabled?: boolean | ||
17 | downloadEnabled?: boolean | ||
18 | privacy: VideoPrivacyType | ||
19 | scheduleUpdate?: VideoScheduleUpdate | ||
20 | originallyPublishedAt?: Date | string | ||
21 | videoPasswords?: string[] | ||
22 | |||
23 | thumbnailfile?: Blob | string | ||
24 | previewfile?: Blob | string | ||
25 | } | ||