Some refactoring
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
@@ -12,9 +12,17 @@ import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
|
||||
import { AppCommonModule } from '@farmmaps/common';
|
||||
|
||||
import { MODULE_NAME } from './module-name';
|
||||
import * as mapReducer from './reducers/map.reducer';
|
||||
import * as mapReducers from './reducers/map.reducer';
|
||||
import * as mapActions from './actions/map.actions';
|
||||
import * as mapEffects from './effects/map.effects';
|
||||
|
||||
import { IMapState} from './models';
|
||||
import { ISelectedFeatures } from './models';
|
||||
import { IItemLayer } from './models';
|
||||
import { ItemLayer} from './models';
|
||||
import { IQueryState } from './models';
|
||||
import { IPeriodState } from './models';
|
||||
|
||||
// components
|
||||
import { GpsLocation} from './components/aol/gps-location/gps-location.component';
|
||||
//import {Switch2D3DComponent } from './components/aol/switch2d3d/switch2d3d.component';
|
||||
@@ -58,7 +66,8 @@ import { WidgetStatusComponent } from './components/widget-status/widget-status.
|
||||
|
||||
export {
|
||||
mapEffects,
|
||||
mapReducer,
|
||||
mapReducers,
|
||||
mapActions,
|
||||
ZoomToExtentComponent,
|
||||
ItemVectorSourceComponent,
|
||||
ItemFeaturesSourceComponent,
|
||||
@@ -99,7 +108,13 @@ export {
|
||||
AbstractItemListItemComponent,
|
||||
AbstractItemListComponent,
|
||||
StateSerializerService,
|
||||
GeolocationService
|
||||
GeolocationService,
|
||||
IMapState,
|
||||
ISelectedFeatures,
|
||||
IItemLayer,
|
||||
ItemLayer,
|
||||
IQueryState,
|
||||
IPeriodState
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
@@ -107,7 +122,7 @@ export {
|
||||
CommonModule,
|
||||
AngularOpenlayersModule,
|
||||
MapRoutingModule,
|
||||
StoreModule.forFeature(MODULE_NAME, mapReducer.reducer),
|
||||
StoreModule.forFeature(MODULE_NAME, mapReducers.reducer),
|
||||
EffectsModule.forFeature([mapEffects.MapEffects]),
|
||||
NgbModule,
|
||||
FormsModule,
|
||||
|
Reference in New Issue
Block a user