]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/account/account.model.ts
Move user moderation tool in a separate component
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / account / account.model.ts
CommitLineData
50d6de9c 1import { Account as ServerAccount } from '../../../../../shared/models/actors/account.model'
d3e91a5f 2import { Actor } from '../actor/actor.model'
b1fa3eba 3
d3e91a5f 4export class Account extends Actor implements ServerAccount {
c5911fd3 5 displayName: string
2422c46b 6 description: string
ad9e39fb 7 nameWithHost: string
6b738c7a
C
8
9 constructor (hash: ServerAccount) {
d3e91a5f
C
10 super(hash)
11
6b738c7a
C
12 this.displayName = hash.displayName
13 this.description = hash.description
ad9e39fb 14 this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host)
6b738c7a 15 }
b1fa3eba 16}