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

22 lines
442 B
TypeScript
Raw Normal View History

2018-08-14 07:59:53 -05:00
import { Actor } from '../../actors/actor.model'
import { Account } from '../../actors/index'
2019-02-26 03:55:40 -06:00
import { Avatar } from '../../avatars'
2017-10-24 12:41:09 -05:00
export interface VideoChannel extends Actor {
displayName: string
2017-10-24 12:41:09 -05:00
description: string
support: string
2017-10-24 12:41:09 -05:00
isLocal: boolean
2018-05-23 04:38:00 -05:00
ownerAccount?: Account
2017-10-24 12:41:09 -05:00
}
2019-02-26 03:55:40 -06:00
export interface VideoChannelSummary {
id: number
uuid: string
name: string
displayName: string
url: string
host: string
avatar?: Avatar
}