diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-12 18:12:39 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-13 11:53:48 +0200 |
commit | ed638e5325096ef580da20f370ac61c59cd48cf7 (patch) | |
tree | 8ad4c1001efb3adc3946a6b6c9a3c1ed1f557995 /shared | |
parent | 64cc5e8575fda47b281ae20abf0020e27fc8ce7c (diff) | |
download | PeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.tar.gz PeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.tar.zst PeerTube-ed638e5325096ef580da20f370ac61c59cd48cf7.zip |
move to boolean switch
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/users/user-update-me.model.ts | 3 | ||||
-rw-r--r-- | shared/models/users/user-webtorrent-policy.type.ts | 1 |
2 files changed, 1 insertions, 3 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 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | 1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
2 | import { WebTorrentPolicyType } from './user-webtorrent-policy.type' | ||
3 | 2 | ||
4 | export interface UserUpdateMe { | 3 | export 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 |
diff --git a/shared/models/users/user-webtorrent-policy.type.ts b/shared/models/users/user-webtorrent-policy.type.ts deleted file mode 100644 index e293f761d..000000000 --- a/shared/models/users/user-webtorrent-policy.type.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export type WebTorrentPolicyType = 'enable' | 'disable' | 'disable_on_mobile' | ||