-import { Avatar } from '../avatars/avatar.model'
+import { Actor } from './actor.model'
+import { Avatar } from '../avatars'
-export interface Account {
+export interface Account extends Actor {
+ displayName: string
+ description: string
+
+ userId?: number
+}
+
+export interface AccountSummary {
id: number
- uuid: string
- url: string
name: string
displayName: string
+ url: string
host: string
- followingCount: number
- followersCount: number
- createdAt: Date
- updatedAt: Date
- avatar: Avatar
+ avatar?: Avatar
}