Add account avatar

This commit is contained in:
Chocobozzz 2017-12-04 10:34:40 +01:00
parent 202f6b6c9d
commit 2295ce6c4e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
31 changed files with 207 additions and 54 deletions

View file

@ -1,3 +1,4 @@
import { Account } from '../accounts'
import { VideoChannel } from '../videos/video-channel.model'
import { UserRole } from './user-role'
@ -8,10 +9,7 @@ export interface User {
displayNSFW: boolean
role: UserRole
videoQuota: number
createdAt: Date,
account: {
id: number
uuid: string
}
createdAt: Date
account: Account
videoChannels?: VideoChannel[]
}