a8012734ce33e5dd85fbbcb744a5a9e4dc2df3c9
[oweals/peertube.git] / shared / models / users / user.model.ts
1 import { VideoChannel } from '../videos/video-channel.model'
2 import { UserRole } from './user-role'
3
4 export interface User {
5   id: number
6   username: string
7   email: string
8   displayNSFW: boolean
9   role: UserRole
10   videoQuota: number
11   createdAt: Date,
12   account: {
13     id: number
14     uuid: string
15   }
16   videoChannels?: VideoChannel[]
17 }