File

projects/netgrif-components-core/src/lib/resources/interface/user-resource-small.ts

Description

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.

Extends

IUser

Index

Properties

Properties

avatar
avatar: string
Type : string
Optional
fullName
fullName: string
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;
}

result-matching ""

    No results matching ""