]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/users/user.model.ts
Remove dashes from actor names
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / users / user.model.ts
index e6b612054159ce5dab93aad95ce9467a3af4c179..9819829fd1c6e91827726c5d087d1c123ab0c0ba 100644 (file)
@@ -15,6 +15,7 @@ export type UserConstructorHash = {
   username: string,
   email: string,
   role: UserRole,
+  emailVerified?: boolean,
   videoQuota?: number,
   videoQuotaDaily?: number,
   nsfwPolicy?: NSFWPolicyType,
@@ -31,6 +32,7 @@ export class User implements UserServerModel {
   id: number
   username: string
   email: string
+  emailVerified: boolean
   role: UserRole
   nsfwPolicy: NSFWPolicyType
   webTorrentEnabled: boolean
@@ -43,7 +45,6 @@ export class User implements UserServerModel {
 
   blocked: boolean
   blockedReason?: string
-  [key: string]: any
 
   constructor (hash: UserConstructorHash) {
     this.id = hash.id