|
1 | 1 | export type ProfileImage = { |
2 | | - has_image: boolean; |
3 | | - image_url_full: string; |
4 | | - image_url_large: string; |
5 | | - image_url_medium: string; |
6 | | - image_url_small: string; |
| 2 | + hasImage: boolean; |
| 3 | + imageUrlFull: string; |
| 4 | + imageUrlLarge: string; |
| 5 | + imageUrlMedium: string; |
| 6 | + imageUrlSmall: string; |
7 | 7 | }; |
8 | 8 |
|
9 | 9 | export type UserAccount = { |
10 | | - account_privacy: string; |
11 | | - profile_image: ProfileImage; |
| 10 | + accountPrivacy: string; |
| 11 | + profileImage: ProfileImage; |
12 | 12 | username: string; |
13 | 13 | bio: string | null; |
14 | | - course_certificates: unknown | null; // Type unclear from data |
| 14 | + courseCertificates: unknown | null; // Type unclear from data |
15 | 15 | country: string | null; |
16 | | - date_joined: string; // ISO date string |
17 | | - language_proficiencies: unknown[]; // Array type unclear from empty data |
18 | | - level_of_education: string | null; |
19 | | - social_links: unknown[]; // Array type unclear from empty data |
20 | | - time_zone: string | null; |
| 16 | + dateJoined: string; // ISO date string |
| 17 | + languageProficiencies: unknown[]; // Array type unclear from empty data |
| 18 | + levelOfEducation: string | null; |
| 19 | + socialLinks: unknown[]; // Array type unclear from empty data |
| 20 | + timeZone: string | null; |
21 | 21 | name: string; |
22 | 22 | email: string; |
23 | 23 | id: number; |
24 | | - verified_name: string | null; |
25 | | - extended_profile: unknown[]; // Array type unclear from empty data |
| 24 | + verifiedName: string | null; |
| 25 | + extendedProfile: unknown[]; // Array type unclear from empty data |
26 | 26 | gender: string | null; |
27 | 27 | state: string | null; |
28 | 28 | goals: string; |
29 | | - is_active: boolean; |
30 | | - last_login: string; // ISO date string |
31 | | - mailing_address: string; |
32 | | - requires_parental_consent: boolean; |
33 | | - secondary_email: string | null; |
34 | | - secondary_email_enabled: boolean | null; |
35 | | - year_of_birth: number | null; |
36 | | - phone_number: string | null; |
37 | | - activation_key: string; |
38 | | - pending_name_change: string | null; |
| 29 | + isActive: boolean; |
| 30 | + lastLogin: string; // ISO date string |
| 31 | + mailingAddress: string; |
| 32 | + requiresParentalConsent: boolean; |
| 33 | + secondaryEmail: string | null; |
| 34 | + secondaryEmailEnabled: boolean | null; |
| 35 | + yearOfBirth: number | null; |
| 36 | + phoneNumber: string | null; |
| 37 | + activationKey: string; |
| 38 | + pendingNameChange: string | null; |
39 | 39 | }; |
0 commit comments