]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/users/user.model.ts
Add account avatar
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
1 import { Account } from '../accounts'
2 import { VideoChannel } from '../videos/video-channel.model'
3 import { UserRole } from './user-role'
4
5 export interface User {
6 id: number
7 username: string
8 email: string
9 displayNSFW: boolean
10 role: UserRole
11 videoQuota: number
12 createdAt: Date
13 account: Account
14 videoChannels?: VideoChannel[]
15 }