]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/users/user.model.ts
Save
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
... / ...
CommitLineData
1import { Account } from '../accounts'
2import { VideoChannel } from '../videos/video-channel.model'
3import { UserRole } from './user-role'
4
5export 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}