aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/account.model.ts
blob: 9fbec60ba035916c5c4122bbfc1c04e2fa38b03d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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[]
}