diff options
Diffstat (limited to 'shared/models/users')
-rw-r--r-- | shared/models/users/user-update-me.model.ts | 4 | ||||
-rw-r--r-- | shared/models/users/user-webtorrent-policy.type.ts | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts index bbffe1487..81790377e 100644 --- a/shared/models/users/user-update-me.model.ts +++ b/shared/models/users/user-update-me.model.ts | |||
@@ -1,9 +1,11 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | 1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
2 | import { WebTorrentPolicyType } from './user-webtorrent-policy.type' | ||
2 | 3 | ||
3 | export interface UserUpdateMe { | 4 | export interface UserUpdateMe { |
4 | displayName?: string | 5 | displayName?: string |
5 | description?: string | 6 | description?: string |
6 | nsfwPolicy?: NSFWPolicyType | 7 | nsfwPolicy?: NSFWPolicyType, |
8 | webTorrentPolicy?: WebTorrentPolicyType, | ||
7 | autoPlayVideo?: boolean | 9 | autoPlayVideo?: boolean |
8 | email?: string | 10 | email?: string |
9 | currentPassword?: string | 11 | currentPassword?: string |
diff --git a/shared/models/users/user-webtorrent-policy.type.ts b/shared/models/users/user-webtorrent-policy.type.ts new file mode 100644 index 000000000..e293f761d --- /dev/null +++ b/shared/models/users/user-webtorrent-policy.type.ts | |||
@@ -0,0 +1 @@ | |||
export type WebTorrentPolicyType = 'enable' | 'disable' | 'disable_on_mobile' | |||