1
0
Fork 0
peertube/shared/models/users/user-update-me.model.ts
LoveIsGrief 6aa5414813 Autoplay next recommended video (#2137)
* Start working on autoplay of next video

* Ignore changes made by gitpod

* Apply changes from PR#1370

* Correct the spelling of recommendations

* Fix linting errors

* Move boolean check to existing onEnded handler

* Pick a random video until the recommendations are improved

* Add simple tests for autoPlayNextVideo

* Fix lint

...again
2019-09-24 08:48:01 +02:00

22 lines
471 B
TypeScript

import { NSFWPolicyType } from '../videos/nsfw-policy.type'
export interface UserUpdateMe {
displayName?: string
description?: string
nsfwPolicy?: NSFWPolicyType
webTorrentEnabled?: boolean
autoPlayVideo?: boolean
autoPlayNextVideo?: boolean
videosHistoryEnabled?: boolean
videoLanguages?: string[]
email?: string
currentPassword?: string
password?: string
theme?: string
noInstanceConfigWarningModal?: boolean
noWelcomeModal?: boolean
}