/** * Module: Models for Users. */ /** * Represents {@link User} identifier type. */ export type UserID = number; /** * Represents user detailed information. * Some information should only be accessible to authorized users */ export interface IUser { id: UserID; username: string; is_staff: boolean; email: string; first_name: string; last_name: string; } /** * Represents user profile for viewing and editing {@link IUser}. */ export interface IUserProfile extends Omit {} /** * Represents user reference information. */ export interface IUserInfo extends Omit {}