mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add banners support
This commit is contained in:
@@ -27,5 +27,6 @@ export interface ActivityPubActor {
|
||||
publicKeyPem: string
|
||||
}
|
||||
|
||||
icon: ActivityIconObject
|
||||
icon?: ActivityIconObject
|
||||
image?: ActivityIconObject
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface ActivityIdentifierObject {
|
||||
export interface ActivityIconObject {
|
||||
type: 'Image'
|
||||
url: string
|
||||
mediaType: 'image/jpeg' | 'image/png'
|
||||
mediaType: string
|
||||
width?: number
|
||||
height?: number
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ export interface VideoChannel extends Actor {
|
||||
|
||||
videosCount?: number
|
||||
viewsPerDay?: ViewsPerDate[] // chronologically ordered
|
||||
|
||||
banner?: ActorImage
|
||||
}
|
||||
|
||||
export interface VideoChannelSummary {
|
||||
|
||||
Reference in New Issue
Block a user