your recipe card header background

    NgRx Data Entity Metadata

    0

    0

    lucycodes42

    Angular snippets for TypeScript

    This is importing the @ngrx/data library, then creating an entityMetadataMap of the model 1 in the entityConfig . This entityMetadataMap contains an entity for the model 1.

    Library: angular

    Shortcut: a_ngrx_data_entity_metadata

    import { EntityMetadataMap } from '@ngrx/data';
    
    const entityMetadata: EntityMetadataMap = {
      Model1: {},${0}
    };
    
    export const entityConfig = {
      entityMetadata
    };
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.