import { InjectionToken } from '@angular/core'; import { MetaReducer } from '@ngrx/store'; import { EntityCache } from './entity-cache'; export const ENTITY_CACHE_NAME = 'entityCache'; export const ENTITY_CACHE_NAME_TOKEN = new InjectionToken( '@ngrx/data Entity Cache Name' ); export const ENTITY_CACHE_META_REDUCERS = new InjectionToken< MetaReducer[] >('@ngrx/data Entity Cache Meta Reducers'); export const ENTITY_COLLECTION_META_REDUCERS = new InjectionToken< MetaReducer[] >('@ngrx/data Entity Collection Meta Reducers'); export const INITIAL_ENTITY_CACHE_STATE = new InjectionToken< EntityCache | (() => EntityCache) >('@ngrx/data Initial Entity Cache State');