]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/users/user.model.ts
Support roles with rights and add moderator role
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
1 import { VideoChannel } from '../videos/video-channel.model'
2 import { UserRole } from './user-role'
3
4 export interface User {
5 id: number
6 username: string
7 email: string
8 displayNSFW: boolean
9 role: UserRole
10 videoQuota: number
11 createdAt: Date,
12 author: {
13 id: number
14 uuid: string
15 }
16 videoChannels?: VideoChannel[]
17 }