libs/order/state/src/order-state.module.ts
import { NgModule } from '@angular/core';
import { EffectsModule } from '@ngrx/effects';
import { StoreModule } from '@ngrx/store';
import { DaffCartStateModule } from '@daffodil/cart/state';
import { DaffOrderCollectionEffects } from './effects/order-collection.effects';
import { DaffOrderEffects } from './effects/order.effects';
import { DAFF_ORDER_STORE_FEATURE_KEY } from './reducers/public_api';
import { DAFF_ORDER_REDUCERS } from './reducers/token/reducers.token';
@NgModule({
imports: [
DaffCartStateModule,
EffectsModule.forFeature([
DaffOrderEffects,
DaffOrderCollectionEffects,
]),
StoreModule.forFeature(DAFF_ORDER_STORE_FEATURE_KEY, DAFF_ORDER_REDUCERS),
],
})
export class DaffOrderStateModule {}