projects/netgrif-components-core/src/lib/resources/interface/user-resource-small.ts
A "small" version of the UserResource interface, that represents User response in its compacted form without some of the attributes.
This interface exists mostly to not give developers false hopes about contents of some backend responses.
Properties |
avatar |
avatar:
|
Type : string
|
Optional |
fullName |
fullName:
|
Type : string
|
import {IUser} from '../../user/models/iuser';
/**
* A "small" version of the {@link UserResource} interface, that represents
* User response in its compacted form without some of the attributes.
*
* This interface exists mostly to not give developers false hopes about contents of some backend responses.
*/
export interface UserResourceSmall extends IUser {
fullName: string;
avatar?: string;
}