aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user.model.ts
blob: b5f459f31e882135246b1ef520688e538bec4c1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Account } from '../actors'
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[]
}