import { createEntityAdapter , EntityAdapter } from '@ngrx/entity' ; import { Asset } from '@core/interfaces/asset.interface' ; export const assetsAdapter = createEntityAdapter < Asset > ( { selectId : ( asset ) => asset . id } ) ;