Support occitan
[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 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
5
6 export interface User {
7   id: number
8   username: string
9   email: string
10   nsfwPolicy: NSFWPolicyType
11   autoPlayVideo: boolean
12   role: UserRole
13   videoQuota: number
14   createdAt: Date
15   account: Account
16   videoChannels?: VideoChannel[]
17 }