projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Begin moving video channel to actor
[oweals/peertube.git]
/
shared
/
models
/
users
/
user.model.ts
1
import { Account } from '../actors'
2
import { VideoChannel } from '../videos/video-channel.model'
3
import { UserRole } from './user-role'
4
5
export interface User {
6
id: number
7
username: string
8
email: string
9
displayNSFW: boolean
10
autoPlayVideo: boolean
11
role: UserRole
12
videoQuota: number
13
createdAt: Date
14
account: Account
15
videoChannels?: VideoChannel[]
16
}