aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/users/index.ts1
-rw-r--r--shared/models/users/user-update-me.model.ts5
-rw-r--r--shared/models/users/user-update.model.ts3
3 files changed, 7 insertions, 2 deletions
diff --git a/shared/models/users/index.ts b/shared/models/users/index.ts
index 414aaab08..45dbc7b8f 100644
--- a/shared/models/users/index.ts
+++ b/shared/models/users/index.ts
@@ -1,4 +1,5 @@
1export * from './user.model' 1export * from './user.model'
2export * from './user-create.model' 2export * from './user-create.model'
3export * from './user-update.model' 3export * from './user-update.model'
4export * from './user-update-me.model'
4export * from './user-role.type' 5export * from './user-role.type'
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts
new file mode 100644
index 000000000..0ee41a79b
--- /dev/null
+++ b/shared/models/users/user-update-me.model.ts
@@ -0,0 +1,5 @@
1export interface UserUpdateMe {
2 displayNSFW?: boolean
3 email?: string
4 password?: string
5}
diff --git a/shared/models/users/user-update.model.ts b/shared/models/users/user-update.model.ts
index 895ec0681..e22166fdc 100644
--- a/shared/models/users/user-update.model.ts
+++ b/shared/models/users/user-update.model.ts
@@ -1,5 +1,4 @@
1export interface UserUpdate { 1export interface UserUpdate {
2 displayNSFW?: boolean 2 email?: string
3 password?: string
4 videoQuota?: number 3 videoQuota?: number
5} 4}