]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user.model.ts
Add quota used in users list
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
CommitLineData
50d6de9c 1import { Account } from '../actors'
59c76ffa 2import { VideoChannel } from '../videos/channel/video-channel.model'
954605a8 3import { UserRole } from './user-role'
0883b324 4import { NSFWPolicyType } from '../videos/nsfw-policy.type'
ee9e7b61 5
69818c93
C
6export interface User {
7 id: number
8 username: string
9 email: string
0883b324 10 nsfwPolicy: NSFWPolicyType
7efe153b 11 autoPlayVideo: boolean
ee9e7b61 12 role: UserRole
b0f9f39e 13 videoQuota: number
2295ce6c
C
14 createdAt: Date
15 account: Account
72c7248b 16 videoChannels?: VideoChannel[]
eacb25c4
C
17
18 blocked: boolean
19 blockedReason?: string
a76138ff
C
20
21 videoQuotaUsed?: number
69818c93 22}