PeerTube/shared/models/actors/account.model.ts

20 lines
330 B
TypeScript

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