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
parent
commit
55f3d94c93
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      npm/ng-packs/packages/core/src/lib/models/profile.ts

14
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 {

Loading…
Cancel
Save