1
0
Fork 0
peertube/shared/models/users/user-update-me.model.ts
Andréas Livet 7efe153b0b Enh #106 : Add an autoPlayVideo user attribute (#159)
Warning : I was not able to run the tests on my machine. It uses a different approach to handle databse connexion and didn't find where to configure it...

- create a migration file to add a boolean column in user table
- add autoPlayVideo attribute everywhere it is needed (both on client and server side)
- add tests
- add a way to configure this attribute in account-settings
- use the attribute in video-watch component to actually autoplay or not the video
2017-12-19 10:45:49 +01:00

6 lines
121 B
TypeScript

export interface UserUpdateMe {
displayNSFW?: boolean
autoPlayVideo?: boolean
email?: string
password?: string
}