PeerTube/shared/models/users/user.model.ts

18 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[]
}