aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/users/user.model.ts
blob: 175e72f28457ed3cb0862f5d164cf2743f57f761 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
                                                            
 




                       
                
                    





                                
 
import { UserRole } from './user-role.type'
import { VideoChannel } from '../videos/video-channel.model'

export interface User {
  id: number
  username: string
  email: string
  displayNSFW: boolean
  role: UserRole
  videoQuota: number
  createdAt: Date,
  author: {
    id: number
    uuid: string
  }
  videoChannels?: VideoChannel[]
}