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




                       
                        
                
                    

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

export interface User {
  id: number
  username: string
  email: string
  displayNSFW: boolean
  autoPlayVideo: boolean
  role: UserRole
  videoQuota: number
  createdAt: Date
  account: Account
  videoChannels?: VideoChannel[]
}