Type Alias: IUserProfile ​
ts
type IUserProfile = object;Defined in: types/api.base.ts:88
Everything someone chose to put on their profile, plus how the viewer relates to them. Fetched when a profile is opened rather than carried in every user object, because the CSS and the mutuals are too large to send with every member list.
Properties ​
accentColor ​
ts
accentColor: string | null;Defined in: types/api.base.ts:97
background ​
ts
background: IMedia | null;Defined in: types/api.base.ts:99
badges ​
ts
badges: IProfileBadge[];Defined in: types/api.base.ts:104
bio ​
ts
bio: string | null;Defined in: types/api.base.ts:94
customCss ​
ts
customCss: string | null;Defined in: types/api.base.ts:101
mutualFriends ​
ts
mutualFriends: IUserSimple[];Defined in: types/api.base.ts:108
mutualServers ​
ts
mutualServers: IMutualServer[];Defined in: types/api.base.ts:107
primaryColor ​
ts
primaryColor: string | null;Defined in: types/api.base.ts:96
pronouns ​
ts
pronouns: string | null;Defined in: types/api.base.ts:93
user ​
ts
user: IUserSimple | IUserFull;Defined in: types/api.base.ts:91
userId ​
ts
userId: number;Defined in: types/api.base.ts:89