import { inject , InjectionToken , } from '@angular/core' ; import { StoreConfig } from '@ngrx/store' ; import { DaffProduct } from '@daffodil/product' ; import { DaffProductReducersState } from '../product-reducers-state.interface' ; import { DAFF_PRODUCT_META_REDUCERS } from './meta.token' ; docs-private export const DAFF_PRODUCT_STORE_CONFIG = new InjectionToken < StoreConfig < DaffProductReducersState > > ( 'DAFF_PRODUCT_STORE_CONFIG' , { factory : ( ) => ( { metaReducers : inject ( DAFF_PRODUCT_META_REDUCERS ) , } ) , } ) ;