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

SmartValidatedEntityDefinition

Generic types:Row

We need a type that makes the entityAdapter field in SmartEntityDefinition not optional once it has been provided by the code. This is that type.

Presentation

type SmartValidatedEntityDefinition = Omit<
  SmartEntityDefinition<Row>,
  "entityAdapter"
> &
  ValidOptionalEntityDefinition<Row>;