diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/channel/video-channel.model.ts | 7 | ||||
-rw-r--r-- | shared/models/videos/video-transcoding.model.ts | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts index 32829e92a..56517972d 100644 --- a/shared/models/videos/channel/video-channel.model.ts +++ b/shared/models/videos/channel/video-channel.model.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | import { Actor } from '../../actors/actor.model' | 1 | import { Actor } from '../../actors/actor.model' |
2 | import { Account } from '../../actors/index' | 2 | import { Account, ActorImage } from '../../actors' |
3 | import { Avatar } from '../../avatars' | ||
4 | 3 | ||
5 | export type ViewsPerDate = { | 4 | export type ViewsPerDate = { |
6 | date: Date | 5 | date: Date |
@@ -16,6 +15,8 @@ export interface VideoChannel extends Actor { | |||
16 | 15 | ||
17 | videosCount?: number | 16 | videosCount?: number |
18 | viewsPerDay?: ViewsPerDate[] // chronologically ordered | 17 | viewsPerDay?: ViewsPerDate[] // chronologically ordered |
18 | |||
19 | banner?: ActorImage | ||
19 | } | 20 | } |
20 | 21 | ||
21 | export interface VideoChannelSummary { | 22 | export interface VideoChannelSummary { |
@@ -24,5 +25,5 @@ export interface VideoChannelSummary { | |||
24 | displayName: string | 25 | displayName: string |
25 | url: string | 26 | url: string |
26 | host: string | 27 | host: string |
27 | avatar?: Avatar | 28 | avatar?: ActorImage |
28 | } | 29 | } |
diff --git a/shared/models/videos/video-transcoding.model.ts b/shared/models/videos/video-transcoding.model.ts index 06b555c16..3f2382ce8 100644 --- a/shared/models/videos/video-transcoding.model.ts +++ b/shared/models/videos/video-transcoding.model.ts | |||
@@ -12,7 +12,12 @@ export type EncoderOptionsBuilder = (params: { | |||
12 | export interface EncoderOptions { | 12 | export interface EncoderOptions { |
13 | copy?: boolean // Copy stream? Default to false | 13 | copy?: boolean // Copy stream? Default to false |
14 | 14 | ||
15 | outputOptions: string[] | 15 | scaleFilter?: { |
16 | name: string | ||
17 | } | ||
18 | |||
19 | inputOptions?: string[] | ||
20 | outputOptions?: string[] | ||
16 | } | 21 | } |
17 | 22 | ||
18 | // All our encoders | 23 | // All our encoders |