]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user.model.ts
Update translations
[github/Chocobozzz/PeerTube.git] / shared / models / users / user.model.ts
CommitLineData
50d6de9c 1import { Account } from '../actors'
59c76ffa 2import { VideoChannel } from '../videos/channel/video-channel.model'
954605a8 3import { UserRole } from './user-role'
0883b324 4import { NSFWPolicyType } from '../videos/nsfw-policy.type'
cef534ed 5import { UserNotificationSetting } from './user-notification-setting.model'
1eddc9a7 6import { UserAdminFlag } from './user-flag.model'
ee9e7b61 7
69818c93
C
8export interface User {
9 id: number
10 username: string
11 email: string
d1ab89de 12 pendingEmail: string | null
43d0ea7f 13
fc2ec87a 14 emailVerified: boolean
0883b324 15 nsfwPolicy: NSFWPolicyType
276d9652 16
1eddc9a7
C
17 adminFlags?: UserAdminFlag
18
7efe153b 19 autoPlayVideo: boolean
6aa54148 20 autoPlayNextVideo: boolean
bee29df8 21 autoPlayNextVideoPlaylist: boolean
276d9652
C
22 webTorrentEnabled: boolean
23 videosHistoryEnabled: boolean
43d0ea7f 24 videoLanguages: string[]
276d9652 25
ee9e7b61 26 role: UserRole
1eddc9a7
C
27 roleLabel: string
28
b0f9f39e 29 videoQuota: number
bee0abff 30 videoQuotaDaily: number
43d0ea7f
C
31 videoQuotaUsed?: number
32 videoQuotaUsedDaily?: number
ffb321be
C
33
34 theme: string
35
2295ce6c 36 account: Account
cef534ed 37 notificationSettings?: UserNotificationSetting
72c7248b 38 videoChannels?: VideoChannel[]
eacb25c4
C
39
40 blocked: boolean
41 blockedReason?: string
a76138ff 42
43d0ea7f
C
43 noInstanceConfigWarningModal: boolean
44 noWelcomeModal: boolean
45
46 createdAt: Date
69818c93 47}