2021-04-06 11:35:56 +02:00
|
|
|
import { ActorImage } from './actor-image.model'
|
2018-01-11 09:35:50 +01:00
|
|
|
import { Actor } from './actor.model'
|
2017-12-04 10:34:40 +01:00
|
|
|
|
2018-01-11 09:35:50 +01:00
|
|
|
export interface Account extends Actor {
|
2017-12-29 19:10:13 +01:00
|
|
|
displayName: string
|
2018-02-15 14:46:26 +01:00
|
|
|
description: string
|
2022-02-28 08:34:43 +01:00
|
|
|
avatars: ActorImage[]
|
2018-10-05 16:56:14 +02:00
|
|
|
|
2021-05-07 17:14:39 +02:00
|
|
|
updatedAt: Date | string
|
|
|
|
|
2018-10-05 16:56:14 +02:00
|
|
|
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
|
2022-02-28 08:34:43 +01:00
|
|
|
|
|
|
|
avatars: ActorImage[]
|
|
|
|
|
|
|
|
// TODO: remove, deprecated in 4.2
|
|
|
|
avatar: ActorImage
|
2019-02-26 10:55:40 +01:00
|
|
|
}
|