import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import {
  StoreRouterConnectingModule,
  RouterStateSerializer,
} from '@ngrx/router-store';
import { EffectsModule } from '@ngrx/effects';

import {
  REDUCERS,
  EFFECTS,
} from './store';

import { MODULE } from './sensor.constant';

@NgModule({
  imports: [
    StoreModule.forFeature(MODULE.name, REDUCERS),
    EffectsModule.forFeature(EFFECTS),
  ],
})
export class SensorStoreModule { }
