src/app/modules/shared/interfaces/userProfile.ts
address |
address: |
Type : IAddress[]
|
avatar |
avatar: |
Type : string
|
badgeAssertions |
badgeAssertions: |
Type : string[]
|
completeness |
completeness: |
Type : string | number
|
countryCode |
countryCode: |
Type : string
|
createdBy |
createdBy: |
Type : string
|
createdDate |
createdDate: |
Type : string
|
currentLoginTime |
currentLoginTime: |
Type : string
|
dob |
dob: |
Type : string
|
education |
education: |
Type : IEducation[]
|
email: |
Type : string
|
emailVerified |
emailVerified: |
Type : string
|
firstName |
firstName: |
Type : string
|
framework |
framework: |
Type : any
|
gender |
gender: |
Type : string
|
grade |
grade: |
Type : string[]
|
hashTagIds |
hashTagIds: |
Type : string[]
|
id |
id: |
Type : string
|
identifier |
identifier: |
Type : string
|
isDeleted |
isDeleted: |
Type : any
|
jobProfile |
jobProfile: |
Type : IJobProfile[]
|
language |
language: |
Type : string[]
|
lastLoginTime |
lastLoginTime: |
Type : string | number
|
lastName |
lastName: |
Type : string
|
location |
location: |
Type : string
|
loginId |
loginId: |
Type : string
|
missingFields |
missingFields: |
Type : string[]
|
organisationIds |
organisationIds: |
Type : string[]
|
organisationNames |
organisationNames: |
Type : string[]
|
organisations |
organisations: |
Type : IOrganization[]
|
orgRoleMap |
orgRoleMap: |
Type : { [key: string]: string[]; }
|
phone |
phone: |
Type : string
|
profileSummary |
profileSummary: |
Type : string
|
profileVisibility |
profileVisibility: |
Type : any
|
promptTnC |
promptTnC: |
Type : boolean
|
provider |
provider: |
Type : string
|
registeredOrg |
registeredOrg: |
Type : any
|
regOrgId |
regOrgId: |
Type : string
|
roleOrgMap |
roleOrgMap: |
Type : { [key: string]: string; }
|
roles |
roles: |
Type : string[]
|
rootOrg |
rootOrg: |
Type : any
|
rootOrgAdmin |
rootOrgAdmin: |
Type : boolean
|
rootOrgId |
rootOrgId: |
Type : string
|
skills |
skills: |
Type : ISkill[]
|
status |
status: |
Type : string | number
|
subject |
subject: |
Type : string[]
|
tcStatus |
tcStatus: |
Type : any
|
tcUpdatedDate |
tcUpdatedDate: |
Type : string
|
tempPassword |
tempPassword: |
Type : string
|
thumbnail |
thumbnail: |
Type : any
|
tncAcceptedOn |
tncAcceptedOn: |
Type : string
|
tncAcceptedVersion |
tncAcceptedVersion: |
Type : string
|
tncLatestVersion |
tncLatestVersion: |
Type : string
|
tncLatestVersionUrl |
tncLatestVersionUrl: |
Type : string
|
updatedBy |
updatedBy: |
Type : string
|
updatedDate |
updatedDate: |
Type : string
|
userId |
userId: |
Type : string
|
userName |
userName: |
Type : string
|
userRegData |
userRegData: |
Type : any
|
userRoles |
userRoles: |
Type : string[]
|
webPages |
webPages: |
Type : { type: string; url: string; }[]
|
import { ServerResponse } from './serverResponse';
export interface IUserData {
err: ServerResponse;
userProfile: IUserProfile;
}
export interface IUserProfile {
missingFields?: Array<string>;
badgeAssertions?: Array<string>;
lastName: string;
webPages: Array<{ type: string, url: string }>;
tcStatus: any;
loginId: string;
education: Array<IEducation>;
gender: string;
regOrgId: string;
subject: Array<string>;
roles: Array<string>;
language: Array<string>;
updatedDate: string;
completeness: number | string;
skills: Array<ISkill>;
isDeleted: boolean | any;
organisations: Array<IOrganization>;
provider: string;
countryCode: string;
id: string;
tempPassword: string;
email: string;
rootOrg: any;
rootOrgAdmin?: boolean;
identifier: string;
profileVisibility: any;
thumbnail: any;
updatedBy: string;
address: Array<IAddress>;
jobProfile: Array<IJobProfile>;
profileSummary: string;
tcUpdatedDate: string;
avatar: string;
userName: string;
rootOrgId: string;
userId: string;
emailVerified: string;
firstName: string;
lastLoginTime: number | string;
createdDate: string;
createdBy: string;
phone: string;
dob: string;
registeredOrg: any;
grade: Array<string>;
currentLoginTime: string;
location: string;
status: number | string;
userRoles?: Array<string>;
orgRoleMap?: { [key: string]: Array<string> };
roleOrgMap?: { [key: string]: string };
organisationIds?: Array<string>;
hashTagIds?: Array<string>;
organisationNames?: Array<string>;
framework?: any;
tncAcceptedVersion?: string;
tncAcceptedOn?: string;
tncLatestVersion?: string;
promptTnC?: boolean;
tncLatestVersionUrl?: string;
userRegData?: any;
}
export interface IJobProfile {
jobName: string;
orgName: string;
role: string;
updatedBy: string;
endDate: string;
isVerified: string;
subject: Array<string>;
joiningDate: string;
updatedDate: string;
isCurrentJob: boolean;
verifiedBy: string;
userId: string;
boardName: string;
orgId: string;
addressId: string;
createdDate: string;
isDeleted: boolean;
createdBy: string;
verifiedDate: string;
isRejected: boolean | any;
id: string;
}
export interface IAddress {
country: string;
updatedBy: string;
city: string;
updatedDate: string;
userId: string;
zipcode: string;
addType: string;
createdDate: string;
isDeleted: boolean;
createdBy: string;
addressLine1: string;
addressLine2: string;
id: string;
state: string;
}
export interface IOrganization {
organisationId: string;
identifier: string;
orgName: string;
updatedBy: string;
addedByName: string;
addedBy: string;
roles: Array<string>;
approvedBy: string;
updatedDate: string;
userId: string;
approvaldate: string;
isDeleted: boolean;
isRejected: boolean;
id: string;
position: string;
isApproved: boolean | any;
orgjoindate: string;
orgLeftDate: string;
hashTagId?: string;
}
export interface IEducation {
updatedBy: string;
yearOfPassing: number | string;
degree: string;
updatedDate: string;
userId: string;
addressId: any;
duration: any;
courseName: string;
createdDate: string;
isDeleted: string;
createdBy: string;
boardOrUniversity: string;
grade: string;
percentage: number | string;
name: string;
id: string;
}
export interface ISkill {
skillName: string;
addedAt: string;
endorsersList: Array<{ endorseDate: string, userId: string }>;
addedBy: string;
endorsementcount: number;
id: string;
skillNameToLowercase: string;
userId: string;
}
export interface IBasicInfo {
id: string;
firstName: string;
lastName?: string;
phone?: string;
email?: string;
gender?: string;
dob?: string;
location?: string;
grade?: Array<string>;
language: Array<string>;
subject?: Array<string>;
webPages?: Array<{ type: string, url: string }>;
}