aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/account.model.ts
blob: 60f4236d5e3558fe40298bb5bba0ed1d2d547b68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { ActorImage } from './actor-image.model'
import { Actor } from './actor.model'

export interface Account extends Actor {
  displayName: string
  description: string
  avatars: ActorImage[]

  updatedAt: Date | string

  userId?: number
}

export interface AccountSummary {
  id: number
  name: string
  displayName: string
  url: string
  host: string

  avatars: ActorImage[]

  // TODO: remove, deprecated in 4.2
  avatar: ActorImage
}