aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-update-me.model.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-10-12 18:12:39 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-10-13 11:53:48 +0200
commited638e5325096ef580da20f370ac61c59cd48cf7 (patch)
tree8ad4c1001efb3adc3946a6b6c9a3c1ed1f557995 /shared/models/users/user-update-me.model.ts
parent64cc5e8575fda47b281ae20abf0020e27fc8ce7c (diff)
downloadPeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.tar.gz
PeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.tar.zst
PeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.zip
move to boolean switch
Diffstat (limited to 'shared/models/users/user-update-me.model.ts')
-rw-r--r--shared/models/users/user-update-me.model.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts
index 81790377e..10edeee2e 100644
--- a/shared/models/users/user-update-me.model.ts
+++ b/shared/models/users/user-update-me.model.ts
@@ -1,11 +1,10 @@
1import { NSFWPolicyType } from '../videos/nsfw-policy.type' 1import { NSFWPolicyType } from '../videos/nsfw-policy.type'
2import { WebTorrentPolicyType } from './user-webtorrent-policy.type'
3 2
4export interface UserUpdateMe { 3export interface UserUpdateMe {
5 displayName?: string 4 displayName?: string
6 description?: string 5 description?: string
7 nsfwPolicy?: NSFWPolicyType, 6 nsfwPolicy?: NSFWPolicyType,
8 webTorrentPolicy?: WebTorrentPolicyType, 7 webTorrentEnabled?: boolean,
9 autoPlayVideo?: boolean 8 autoPlayVideo?: boolean
10 email?: string 9 email?: string
11 currentPassword?: string 10 currentPassword?: string