mirror of https://github.com/Chocobozzz/PeerTube
16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
import { Account } from '../accounts'
|
|
import { VideoChannel } from '../videos/video-channel.model'
|
|
import { UserRole } from './user-role'
|
|
|
|
export interface User {
|
|
id: number
|
|
username: string
|
|
email: string
|
|
displayNSFW: boolean
|
|
role: UserRole
|
|
videoQuota: number
|
|
createdAt: Date
|
|
account: Account
|
|
videoChannels?: VideoChannel[]
|
|
}
|