PeerTube/shared/models/actors/account.model.ts

19 lines
315 B
TypeScript
Raw Normal View History

import { Actor } from './actor.model'
2019-02-26 10:55:40 +01:00
import { Avatar } from '../avatars'
2017-12-04 10:34:40 +01:00
export interface Account extends Actor {
2017-12-29 19:10:13 +01:00
displayName: string
description: string
userId?: number
2017-11-13 17:39:41 +01:00
}
2019-02-26 10:55:40 +01:00
export interface AccountSummary {
id: number
name: string
displayName: string
url: string
host: string
avatar?: Avatar
}