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

26 lines
446 B
TypeScript
Raw Normal View History

2021-04-06 04:35:56 -05:00
import { ActorImage } from './actor-image.model'
import { Actor } from './actor.model'
2017-12-04 03:34:40 -06:00
export interface Account extends Actor {
2017-12-29 12:10:13 -06:00
displayName: string
description: string
avatars: ActorImage[]
updatedAt: Date | string
userId?: number
2017-11-13 10:39:41 -06:00
}
2019-02-26 03:55:40 -06:00
export interface AccountSummary {
id: number
name: string
displayName: string
url: string
host: string
avatars: ActorImage[]
// TODO: remove, deprecated in 4.2
avatar: ActorImage
2019-02-26 03:55:40 -06:00
}