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




                       
                
                    
                  
            



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