diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/users/index.ts | 1 | ||||
-rw-r--r-- | shared/models/users/user-update-me.model.ts | 5 | ||||
-rw-r--r-- | shared/models/users/user-update.model.ts | 3 |
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 @@ | |||
1 | export * from './user.model' | 1 | export * from './user.model' |
2 | export * from './user-create.model' | 2 | export * from './user-create.model' |
3 | export * from './user-update.model' | 3 | export * from './user-update.model' |
4 | export * from './user-update-me.model' | ||
4 | export * from './user-role.type' | 5 | export * 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 @@ | |||
1 | export 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 @@ | |||
1 | export interface UserUpdate { | 1 | export interface UserUpdate { |
2 | displayNSFW?: boolean | 2 | email?: string |
3 | password?: string | ||
4 | videoQuota?: number | 3 | videoQuota?: number |
5 | } | 4 | } |