forked from CenterForOpenScience/angular-osf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.models.ts
More file actions
32 lines (30 loc) · 800 Bytes
/
user.models.ts
File metadata and controls
32 lines (30 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { Education } from './education.model';
import { Employment } from './employment.model';
import { ExternalIdentityModel } from './external-identity.model';
import { SocialModel } from './social.model';
export interface UserData {
activeFlags: string[];
currentUser: UserModel | null;
}
export interface UserModel {
id: string;
acceptedTermsOfService: boolean;
active: boolean;
allowIndexing: boolean;
canViewReviews: boolean;
dateRegistered: string;
education: Education[];
employment: Employment[];
familyName: string;
fullName: string;
givenName: string;
middleNames: string;
suffix: string;
timezone: string;
locale: string;
social: SocialModel;
external_identity: ExternalIdentityModel;
defaultRegionId: string;
link?: string;
iri?: string;
}