]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/users/user.model.ts
Enh #106 : Add an autoPlayVideo user attribute (#159)
[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 autoPlayVideo: boolean
11 role: UserRole
12 videoQuota: number
13 createdAt: Date
14 account: Account
15 videoChannels?: VideoChannel[]
16 }