mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
17 lines
337 B
TypeScript
17 lines
337 B
TypeScript
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: {
|
|
id: number
|
|
uuid: string
|
|
}
|
|
videoChannels?: VideoChannel[]
|
|
}
|