aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/actors/account.model.ts
blob: 60f4236d5e3558fe40298bb5bba0ed1d2d547b68 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                
                                     
 
                                        
                     
                     
                       
 

                          
                 
 


                                 



                     




                                    
 
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
}