From 8f6bae55866f56eed6d9bbd448e466440bb163db Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 29 May 2018 19:49:29 +0900 Subject: [PATCH] ing --- .../meta-crawler-input-item.effect.ts | 3 ++- .../entity/meta-crawler/meta-crawler.effect.ts | 18 +++++------------- .../meta-history-type.effect.ts | 3 ++- .../meta-infra-type/meta-infra-type.effect.ts | 3 ++- .../meta-infra-vendor.effect.ts | 3 ++- .../meta-input-type/meta-input-type.effect.ts | 3 ++- .../meta-member-status.effect.ts | 3 ++- .../meta-noauth-probe-status.effect.ts | 3 ++- .../meta-probe-architecture.effect.ts | 3 ++- .../meta-probe-os/meta-probe-os.effect.ts | 3 ++- .../meta-probe-package.effect.ts | 3 ++- .../meta-probe-status.effect.ts | 3 ++- .../meta-probe-task-type.effect.ts | 3 ++- .../meta-probe-version.effect.ts | 3 ++- .../meta-sensor-display-item.effect.ts | 3 ++- .../meta-sensor-display-mapping.effect.ts | 3 ++- .../meta-sensor-item-key.effect.ts | 3 ++- .../meta-sensor-item-type.effect.ts | 3 ++- .../meta-sensor-item-unit.effect.ts | 3 ++- .../meta-sensor-item.effect.ts | 3 ++- .../meta-sensor-status.effect.ts | 3 ++- .../meta-vendor-crawler-sensor-item.effect.ts | 3 ++- .../meta-vendor-crawler.effect.ts | 3 ++- 23 files changed, 49 insertions(+), 35 deletions(-) diff --git a/@overflow/meta/store/entity/meta-crawler-input-item/meta-crawler-input-item.effect.ts b/@overflow/meta/store/entity/meta-crawler-input-item/meta-crawler-input-item.effect.ts index 575a190..c458427 100644 --- a/@overflow/meta/store/entity/meta-crawler-input-item/meta-crawler-input-item.effect.ts +++ b/@overflow/meta/store/entity/meta-crawler-input-item/meta-crawler-input-item.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaCrawler, MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta'; + import { MetaCrawlerInputItemService } from '../../../service/meta-crawler-input-item.service'; import { @@ -11,7 +13,6 @@ import { ReadAllByMetaCrawlerFailure, ActionType, } from './meta-crawler-input-item.action'; -import { MetaCrawler, MetaCrawlerInputItem } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-crawler/meta-crawler.effect.ts b/@overflow/meta/store/entity/meta-crawler/meta-crawler.effect.ts index 3378f1c..a5dc398 100644 --- a/@overflow/meta/store/entity/meta-crawler/meta-crawler.effect.ts +++ b/@overflow/meta/store/entity/meta-crawler/meta-crawler.effect.ts @@ -1,8 +1,7 @@ import { Injectable } from '@angular/core'; -import { Store } from '@ngrx/store'; +import { of } from 'rxjs'; import { Effect, Actions, ofType } from '@ngrx/effects'; -import { of, Observable } from 'rxjs'; -import { catchError, exhaustMap, map, tap, withLatestFrom } from 'rxjs/operators'; +import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta'; @@ -24,28 +23,21 @@ export class Effects { constructor( private actions$: Actions, - private store$: Store, private metaCrawlerService: MetaCrawlerService, ) { } @Effect() readAll$ = this.actions$.pipe( ofType(ActionType.ReadAll), - withLatestFrom(this.store$.select(MetaCrawlerEntitySelector.selectAll)), - exhaustMap(([action, results]) => { - if (0 < results.length) { - return of(new ReadAllSuccess(results)); - } - - return this.metaCrawlerService + exhaustMap(() => + this.metaCrawlerService .readAll() .pipe( map((result: MetaCrawler[]) => { return new ReadAllSuccess(result); }), catchError(error => of(new ReadAllFailure(error))) - ); - } + ) ) ); } diff --git a/@overflow/meta/store/entity/meta-history-type/meta-history-type.effect.ts b/@overflow/meta/store/entity/meta-history-type/meta-history-type.effect.ts index 89c7589..902dcbb 100644 --- a/@overflow/meta/store/entity/meta-history-type/meta-history-type.effect.ts +++ b/@overflow/meta/store/entity/meta-history-type/meta-history-type.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaHistoryType } from '@overflow/commons-typescript/model/meta'; + import { MetaHistoryTypeService } from '../../../service/meta-history-type.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-history-type.action'; -import { MetaHistoryType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-infra-type/meta-infra-type.effect.ts b/@overflow/meta/store/entity/meta-infra-type/meta-infra-type.effect.ts index 0a9ed99..b68e46f 100644 --- a/@overflow/meta/store/entity/meta-infra-type/meta-infra-type.effect.ts +++ b/@overflow/meta/store/entity/meta-infra-type/meta-infra-type.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaInfraType } from '@overflow/commons-typescript/model/meta'; + import { MetaInfraTypeService } from '../../../service/meta-infra-type.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-infra-type.action'; -import { MetaInfraType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-infra-vendor/meta-infra-vendor.effect.ts b/@overflow/meta/store/entity/meta-infra-vendor/meta-infra-vendor.effect.ts index 1f646de..fb1a401 100644 --- a/@overflow/meta/store/entity/meta-infra-vendor/meta-infra-vendor.effect.ts +++ b/@overflow/meta/store/entity/meta-infra-vendor/meta-infra-vendor.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaInfraVendor, MetaInfraType } from '@overflow/commons-typescript/model/meta'; + import { MetaInfraVendorService } from '../../../service/meta-infra-vendor.service'; import { @@ -11,7 +13,6 @@ import { ReadAllByMetaInfraTypeFailure, ActionType, } from './meta-infra-vendor.action'; -import { MetaInfraVendor, MetaInfraType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-input-type/meta-input-type.effect.ts b/@overflow/meta/store/entity/meta-input-type/meta-input-type.effect.ts index 7ed6364..403d3cc 100644 --- a/@overflow/meta/store/entity/meta-input-type/meta-input-type.effect.ts +++ b/@overflow/meta/store/entity/meta-input-type/meta-input-type.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaInputType } from '@overflow/commons-typescript/model/meta'; + import { MetaInputTypeService } from '../../../service/meta-input-type.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-input-type.action'; -import { MetaInputType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-member-status/meta-member-status.effect.ts b/@overflow/meta/store/entity/meta-member-status/meta-member-status.effect.ts index 698e5fa..67ab95d 100644 --- a/@overflow/meta/store/entity/meta-member-status/meta-member-status.effect.ts +++ b/@overflow/meta/store/entity/meta-member-status/meta-member-status.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaMemberStatus } from '@overflow/commons-typescript/model/meta'; + import { MetaMemberStatusService } from '../../../service/meta-member-status.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-member-status.action'; -import { MetaMemberStatus } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-noauth-probe-status/meta-noauth-probe-status.effect.ts b/@overflow/meta/store/entity/meta-noauth-probe-status/meta-noauth-probe-status.effect.ts index 0e7c115..a65b64c 100644 --- a/@overflow/meta/store/entity/meta-noauth-probe-status/meta-noauth-probe-status.effect.ts +++ b/@overflow/meta/store/entity/meta-noauth-probe-status/meta-noauth-probe-status.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaNoAuthProbeStatus } from '@overflow/commons-typescript/model/meta'; + import { MetaNoAuthProbeStatusService } from '../../../service/meta-noauth-probe-status.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-noauth-probe-status.action'; -import { MetaNoAuthProbeStatus } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-architecture/meta-probe-architecture.effect.ts b/@overflow/meta/store/entity/meta-probe-architecture/meta-probe-architecture.effect.ts index 36f847f..f32a036 100644 --- a/@overflow/meta/store/entity/meta-probe-architecture/meta-probe-architecture.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-architecture/meta-probe-architecture.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbeArchitecture } from '@overflow/commons-typescript/model/meta'; + import { MetaProbeArchitectureService } from '../../../service/meta-probe-architecture.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-probe-architecture.action'; -import { MetaProbeArchitecture } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-os/meta-probe-os.effect.ts b/@overflow/meta/store/entity/meta-probe-os/meta-probe-os.effect.ts index aa8103e..e714a73 100644 --- a/@overflow/meta/store/entity/meta-probe-os/meta-probe-os.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-os/meta-probe-os.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbeOs } from '@overflow/commons-typescript/model/meta'; + import { MetaProbeOsService } from '../../../service/meta-probe-os.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-probe-os.action'; -import { MetaProbeOs } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-package/meta-probe-package.effect.ts b/@overflow/meta/store/entity/meta-probe-package/meta-probe-package.effect.ts index eeff54f..f89c687 100644 --- a/@overflow/meta/store/entity/meta-probe-package/meta-probe-package.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-package/meta-probe-package.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbePackage, MetaProbeOs } from '@overflow/commons-typescript/model/meta'; + import { MetaProbePackageService } from '../../../service/meta-probe-package.service'; import { @@ -11,7 +13,6 @@ import { ReadAllByOsFailure, ActionType, } from './meta-probe-package.action'; -import { MetaProbePackage, MetaProbeOs } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-status/meta-probe-status.effect.ts b/@overflow/meta/store/entity/meta-probe-status/meta-probe-status.effect.ts index 4d520ed..0577f1d 100644 --- a/@overflow/meta/store/entity/meta-probe-status/meta-probe-status.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-status/meta-probe-status.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbeStatus } from '@overflow/commons-typescript/model/meta'; + import { MetaProbeStatusService } from '../../../service/meta-probe-status.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-probe-status.action'; -import { MetaProbeStatus } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-task-type/meta-probe-task-type.effect.ts b/@overflow/meta/store/entity/meta-probe-task-type/meta-probe-task-type.effect.ts index ab0d2ff..0fd5b1b 100644 --- a/@overflow/meta/store/entity/meta-probe-task-type/meta-probe-task-type.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-task-type/meta-probe-task-type.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbeTaskType } from '@overflow/commons-typescript/model/meta'; + import { MetaProbeTaskTypeService } from '../../../service/meta-probe-task-type.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-probe-task-type.action'; -import { MetaProbeTaskType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-probe-version/meta-probe-version.effect.ts b/@overflow/meta/store/entity/meta-probe-version/meta-probe-version.effect.ts index 5024c05..665cc19 100644 --- a/@overflow/meta/store/entity/meta-probe-version/meta-probe-version.effect.ts +++ b/@overflow/meta/store/entity/meta-probe-version/meta-probe-version.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaProbeVersion } from '@overflow/commons-typescript/model/meta'; + import { MetaProbeVersionService } from '../../../service/meta-probe-version.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-probe-version.action'; -import { MetaProbeVersion } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-display-item/meta-sensor-display-item.effect.ts b/@overflow/meta/store/entity/meta-sensor-display-item/meta-sensor-display-item.effect.ts index 24a11cf..9acb291 100644 --- a/@overflow/meta/store/entity/meta-sensor-display-item/meta-sensor-display-item.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-display-item/meta-sensor-display-item.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorDisplayItem, MetaCrawler } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorDisplayItemService } from '../../../service/meta-sensor-display-item.service'; import { @@ -11,7 +13,6 @@ import { ReadAllByCrawlerFailure, ActionType, } from './meta-sensor-display-item.action'; -import { MetaSensorDisplayItem, MetaCrawler } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-display-mapping/meta-sensor-display-mapping.effect.ts b/@overflow/meta/store/entity/meta-sensor-display-mapping/meta-sensor-display-mapping.effect.ts index 105db4e..1d464ca 100644 --- a/@overflow/meta/store/entity/meta-sensor-display-mapping/meta-sensor-display-mapping.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-display-mapping/meta-sensor-display-mapping.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorDisplayMapping, MetaSensorDisplayItem, MetaSensorItemKey } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorDisplayMappingService } from '../../../service/meta-sensor-display-mapping.service'; import { @@ -11,7 +13,6 @@ import { ReadAllMetaSensorItemKeyByDisplayItemFailure, ActionType, } from './meta-sensor-display-mapping.action'; -import { MetaSensorDisplayMapping, MetaSensorDisplayItem, MetaSensorItemKey } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-item-key/meta-sensor-item-key.effect.ts b/@overflow/meta/store/entity/meta-sensor-item-key/meta-sensor-item-key.effect.ts index 15d470c..bc92b64 100644 --- a/@overflow/meta/store/entity/meta-sensor-item-key/meta-sensor-item-key.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-item-key/meta-sensor-item-key.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorItemKey, MetaCrawler } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorItemKeyService } from '../../../service/meta-sensor-item-key.service'; import { @@ -16,7 +18,6 @@ import { ActionType, } from './meta-sensor-item-key.action'; -import { MetaSensorItemKey, MetaCrawler } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-item-type/meta-sensor-item-type.effect.ts b/@overflow/meta/store/entity/meta-sensor-item-type/meta-sensor-item-type.effect.ts index 56681ba..76a1b63 100644 --- a/@overflow/meta/store/entity/meta-sensor-item-type/meta-sensor-item-type.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-item-type/meta-sensor-item-type.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorItemType } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorItemTypeService } from '../../../service/meta-sensor-item-type.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-sensor-item-type.action'; -import { MetaSensorItemType } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-item-unit/meta-sensor-item-unit.effect.ts b/@overflow/meta/store/entity/meta-sensor-item-unit/meta-sensor-item-unit.effect.ts index 86a28b4..ce5174d 100644 --- a/@overflow/meta/store/entity/meta-sensor-item-unit/meta-sensor-item-unit.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-item-unit/meta-sensor-item-unit.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorItemUnit } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorItemUnitService } from '../../../service/meta-sensor-item-unit.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-sensor-item-unit.action'; -import { MetaSensorItemUnit } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-item/meta-sensor-item.effect.ts b/@overflow/meta/store/entity/meta-sensor-item/meta-sensor-item.effect.ts index c992981..8c9de1b 100644 --- a/@overflow/meta/store/entity/meta-sensor-item/meta-sensor-item.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-item/meta-sensor-item.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorItem } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorItemService } from '../../../service/meta-sensor-item.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-sensor-item.action'; -import { MetaSensorItem } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-sensor-status/meta-sensor-status.effect.ts b/@overflow/meta/store/entity/meta-sensor-status/meta-sensor-status.effect.ts index 13db19c..81d5fb2 100644 --- a/@overflow/meta/store/entity/meta-sensor-status/meta-sensor-status.effect.ts +++ b/@overflow/meta/store/entity/meta-sensor-status/meta-sensor-status.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaSensorStatus } from '@overflow/commons-typescript/model/meta'; + import { MetaSensorStatusService } from '../../../service/meta-sensor-status.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-sensor-status.action'; -import { MetaSensorStatus } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-vendor-crawler-sensor-item/meta-vendor-crawler-sensor-item.effect.ts b/@overflow/meta/store/entity/meta-vendor-crawler-sensor-item/meta-vendor-crawler-sensor-item.effect.ts index 1ad7f27..e5e89c8 100644 --- a/@overflow/meta/store/entity/meta-vendor-crawler-sensor-item/meta-vendor-crawler-sensor-item.effect.ts +++ b/@overflow/meta/store/entity/meta-vendor-crawler-sensor-item/meta-vendor-crawler-sensor-item.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaVendorCrawlerSensorItem } from '@overflow/commons-typescript/model/meta'; + import { MetaVendorCrawlerSensorItemService } from '../../../service/meta-vendor-crawler-sensor-item.service'; import { @@ -11,7 +13,6 @@ import { ReadAllFailure, ActionType, } from './meta-vendor-crawler-sensor-item.action'; -import { MetaVendorCrawlerSensorItem } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects { diff --git a/@overflow/meta/store/entity/meta-vendor-crawler/meta-vendor-crawler.effect.ts b/@overflow/meta/store/entity/meta-vendor-crawler/meta-vendor-crawler.effect.ts index 3300b1c..143d09b 100644 --- a/@overflow/meta/store/entity/meta-vendor-crawler/meta-vendor-crawler.effect.ts +++ b/@overflow/meta/store/entity/meta-vendor-crawler/meta-vendor-crawler.effect.ts @@ -3,6 +3,8 @@ import { Effect, Actions, ofType } from '@ngrx/effects'; import { of } from 'rxjs'; import { catchError, exhaustMap, map, tap } from 'rxjs/operators'; +import { MetaVendorCrawler, MetaInfraVendor } from '@overflow/commons-typescript/model/meta'; + import { MetaVendorCrawlerService } from '../../../service/meta-vendor-crawler.service'; import { @@ -11,7 +13,6 @@ import { ReadAllByInfraVendorFailure, ActionType, } from './meta-vendor-crawler.action'; -import { MetaVendorCrawler, MetaInfraVendor } from '@overflow/commons-typescript/model/meta'; @Injectable() export class Effects {