graycoreio/daffodil

View on GitHub
libs/customer-payment/state/src/state.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { NgModule } from '@angular/core';
import { EffectsModule } from '@ngrx/effects';
import { StoreModule } from '@ngrx/store';

import { DaffCustomerPaymentEffects } from './effects/payment.effects';
import { DAFF_CUSTOMER_PAYMENT_STORE_FEATURE_KEY } from './reducers/public_api';
import { DAFF_CUSTOMER_PAYMENT_REDUCERS } from './reducers/token/reducers.token';

/**
 * Creates the customer feature store.
 */
@NgModule({
  imports: [
    StoreModule.forFeature(DAFF_CUSTOMER_PAYMENT_STORE_FEATURE_KEY, DAFF_CUSTOMER_PAYMENT_REDUCERS),
    EffectsModule.forFeature([
      DaffCustomerPaymentEffects,
    ]),
  ],
})
export class DaffCustomerPaymentStateModule {}