Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Interface

EntityAttributes

This is an internal interface that holds all the attributes we will need in provideEntities() so that we can just do a lookup for them later when we need them.

Properties

NameTypeDescription
markAndDeleteEntityMap
Map<string, number>

??

markAndDeleteInit
MarkAndDeleteInit

Definition of how we want to handle refresh and garbage collection

Methods

defaultRow()

Function that defines the default row for the entity

Presentation
defaultRow(id: string): SmartNgRXRowBase;
Parameters
NameTypeDescription
id
string

the unique ID of the row

Returns