mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add user notification base code
This commit is contained in:
parent
1de1d05f4c
commit
cef534ed53
52 changed files with 2479 additions and 141 deletions
|
@ -2,6 +2,7 @@ import { Account } from '../actors'
|
|||
import { VideoChannel } from '../videos/channel/video-channel.model'
|
||||
import { UserRole } from './user-role'
|
||||
import { NSFWPolicyType } from '../videos/nsfw-policy.type'
|
||||
import { UserNotificationSetting } from './user-notification-setting.model'
|
||||
|
||||
export interface User {
|
||||
id: number
|
||||
|
@ -19,6 +20,7 @@ export interface User {
|
|||
videoQuotaDaily: number
|
||||
createdAt: Date
|
||||
account: Account
|
||||
notificationSettings?: UserNotificationSetting
|
||||
videoChannels?: VideoChannel[]
|
||||
|
||||
blocked: boolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue