]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/users/user.model.ts
Add ability to mute a user/instance by server in server api
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
... / ...
CommitLineData
1import { Account } from '../actors'
2import { VideoChannel } from '../videos/channel/video-channel.model'
3import { UserRole } from './user-role'
4import { NSFWPolicyType } from '../videos/nsfw-policy.type'
5
6export interface User {
7 id: number
8 username: string
9 email: string
10 nsfwPolicy: NSFWPolicyType
11 autoPlayVideo: boolean
12 role: UserRole
13 videoQuota: number
14 videoQuotaDaily: number
15 createdAt: Date
16 account: Account
17 videoChannels?: VideoChannel[]
18
19 blocked: boolean
20 blockedReason?: string
21
22 videoQuotaUsed?: number
23}