This commit is contained in:
crusader 2018-05-29 20:58:50 +09:00
parent 288c9c78c6
commit c4bfb21e9c
4 changed files with 11 additions and 10 deletions

View File

@ -9,8 +9,6 @@ import {
} from '@angular/core'; } from '@angular/core';
import { Store, select, StateObservable } from '@ngrx/store'; import { Store, select, StateObservable } from '@ngrx/store';
import { RPCClientError } from '@loafer/ng-rpc'; import { RPCClientError } from '@loafer/ng-rpc';
import * as ListStore from '@overflow/meta/crawler/store/list';
import { ReadAllCrawlerSelector } from '@overflow/meta/crawler/store';
import { MetaCrawler } from '@overflow/commons-typescript/model/meta'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta';
import { Subscription } from 'rxjs/Subscription'; import { Subscription } from 'rxjs/Subscription';
@ -27,7 +25,7 @@ export class ServiceSelectorComponent implements OnInit, AfterContentInit, OnDes
@Input() includeServices; @Input() includeServices;
constructor( constructor(
private listStore: Store<ListStore.State>, private listStore: Store<any>,
) { ) {
// this.crawlers$ = listStore.pipe(select(ReadAllCrawlerSelector.select('metaCrawlerList'))); // this.crawlers$ = listStore.pipe(select(ReadAllCrawlerSelector.select('metaCrawlerList')));
} }

View File

@ -8,10 +8,12 @@ import { DiscoveryLoggerModule } from './discovery-logger.module';
import { COMPONENTS } from './component'; import { COMPONENTS } from './component';
import { SERVICES } from './service'; import { SERVICES } from './service';
import { CONTAINER_COMPONENTS } from './container';
import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module'; import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module'; import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
import { CONTAINER_COMPONENTS } from './container'; import { ProbeModule } from '@overflow/probe/probe.module';
import { ProbeModule } from '../probe/probe.module'; import { MetaModule } from '@overflow/meta/meta.module';
@NgModule({ @NgModule({
imports: [ imports: [
@ -23,7 +25,8 @@ import { ProbeModule } from '../probe/probe.module';
DiscoveryRPCModule, DiscoveryRPCModule,
DiscoveryLoggerModule, DiscoveryLoggerModule,
KeyValueModule, KeyValueModule,
ProbeModule ProbeModule,
MetaModule
], ],
declarations: [ declarations: [
COMPONENTS, COMPONENTS,

View File

@ -8,7 +8,7 @@ import { PrimeNGModules } from '@overflow/commons/prime-ng/prime-ng.module';
import { DiscoveryModule } from '@overflow/discovery/discovery.module'; import { DiscoveryModule } from '@overflow/discovery/discovery.module';
import { SensorModule } from '@overflow/sensor/sensor.module'; import { SensorModule } from '@overflow/sensor/sensor.module';
import { ProbeModule } from '@overflow/probe/probe.module'; import { ProbeModule } from '@overflow/probe/probe.module';
import { MetaCrawlerModule } from '@overflow/meta/crawler/crawler.module'; import { MetaModule } from '@overflow/meta/meta.module';
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module'; import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
@ -22,7 +22,7 @@ import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.
SensorModule, SensorModule,
KeyValueModule, KeyValueModule,
ProbeModule, ProbeModule,
MetaCrawlerModule MetaModule,
], ],
declarations: [ declarations: [
COMPONENTS, COMPONENTS,

View File

@ -7,7 +7,7 @@ import { ProbeStoreModule } from './probe-store.module';
import { SERVICES } from './service'; import { SERVICES } from './service';
import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module'; import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { MetaCrawlerModule } from '@overflow/meta/crawler/crawler.module'; import { MetaModule } from '@overflow/meta/meta.module';
import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module'; import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.module';
@NgModule({ @NgModule({
@ -17,7 +17,7 @@ import { KeyValueModule } from '@overflow/commons/component/key-value/key-value.
ProbeStoreModule, ProbeStoreModule,
FormsModule, FormsModule,
KeyValueModule, KeyValueModule,
MetaCrawlerModule MetaModule
], ],
declarations: [ declarations: [
CONTAINER_COMPONENTS, CONTAINER_COMPONENTS,