0
0
JRJose Romero
The code declares a variable called entityMetadata and sets its value to a Map. The Map contains a key for each entity in the app. The first key in the Map is for the model1 entity, and the second key is for the model2 entity.
Library: angular
Shortcut: angular.ngrx.datamap
import { EntityMetadataMap } from '@ngrx/data';
const entityMetadata: EntityMetadataMap = {
Model1: {},
};
export const entityConfig = {
entityMetadata
};