Chocobozzz/PeerTube

View on GitHub
packages/models/src/actors/account.model.ts

Summary

Maintainability
A
1 hr
Test Coverage
import { ActorImage } from './actor-image.model.js'
import { Actor } from './actor.model.js'

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[]
}