]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user.model.ts
Save
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
CommitLineData
2295ce6c 1import { Account } from '../accounts'
72c7248b 2import { VideoChannel } from '../videos/video-channel.model'
954605a8 3import { UserRole } from './user-role'
ee9e7b61 4
69818c93
C
5export interface User {
6 id: number
7 username: string
8 email: string
9 displayNSFW: boolean
7efe153b 10 autoPlayVideo: boolean
ee9e7b61 11 role: UserRole
b0f9f39e 12 videoQuota: number
2295ce6c
C
13 createdAt: Date
14 account: Account
72c7248b 15 videoChannels?: VideoChannel[]
69818c93 16}