Browse Source
Merge pull request #5100 from abpframework/feat/volo-2985
Added couple of missing fields from Profile.Response
pull/5104/head
Mehmet Erim
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
3 deletions
-
npm/ng-packs/packages/core/src/lib/models/profile.ts
|
|
|
@ -1,16 +1,24 @@ |
|
|
|
import { ExtensibleObject } from './dtos'; |
|
|
|
|
|
|
|
export namespace Profile { |
|
|
|
export interface State { |
|
|
|
profile: Response; |
|
|
|
} |
|
|
|
|
|
|
|
export interface Response { |
|
|
|
export interface Response extends Partial<ExtensibleObject> { |
|
|
|
userName: string; |
|
|
|
email: string; |
|
|
|
name: string; |
|
|
|
surname: string; |
|
|
|
phoneNumber: string; |
|
|
|
isExternal: boolean; |
|
|
|
hasPassword: boolean; |
|
|
|
/** |
|
|
|
* Following 4 fields are added as optional (for backward compatibility) on 17.08.2020 |
|
|
|
* Also, this interface extends `ExtensibleObject` as partial for extraProperties field. |
|
|
|
*/ |
|
|
|
isExternal?: boolean; |
|
|
|
hasPassword?: boolean; |
|
|
|
emailConfirmed?: false; |
|
|
|
phoneNumberConfirmed?: false; |
|
|
|
} |
|
|
|
|
|
|
|
export interface ChangePasswordRequest { |
|
|
|
|