1
0
Fork 0
peertube/shared/models/users/user.model.ts
2017-12-19 10:53:16 +01:00

16 lines
367 B
TypeScript

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