1
0
Fork 0
peertube/shared/models/users/user.model.ts
2017-11-27 19:40:51 +01:00

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