@inweb/client
Version:
JavaScript REST API client for the Open Cloud Server
40 lines (39 loc) • 866 B
TypeScript
/**
* Defines brief user information.
*/
export interface IShortUserDesc {
/**
* Unique user ID.
*/
userId: string;
/**
* User name.
*/
userName: string;
/**
* First name.
*/
name: string;
/**
* Last name.
*/
lastName: string;
/**
* User email.
*/
email: string;
/**
* User avatar image URL or empty string if the user does not have an avatar.
*/
avatarUrl?: string;
/**
* User full name. Contains the user's first and last name. If first name and last names are empty,
* contains the user name.
*/
fullName?: string;
/**
* User initials. Contains a first letters of the user's first and last names. If first name and last
* names are empty, contains the first letter of the user name.
*/
initials?: string;
}