import { Component, OnInit, OnDestroy } from '@angular/core'; import { Store, select } from '@ngrx/store'; import { Observable, Subscription } from 'rxjs'; import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth'; import { AuthContainerSelector } from '@overflow/shared/auth/store'; import { Domain, DomainMember } from '@overflow/commons-typescript/model/domain'; import { ConfirmationService } from 'primeng/primeng'; import { MessageService } from 'primeng/components/common/messageservice'; import { RPCClientError } from '@loafer/ng-rpc'; import { MetaCrawler } from '@overflow/commons-typescript/model/meta'; import { MetaCrawlerEntitySelector } from '../store'; @Component({ selector: 'of-meta-crawler-container', templateUrl: './meta-crawler-container.component.html' }) export class MetaCrawlerContainerComponent implements OnInit, OnDestroy { metaCrawlers$: Observable; constructor( private store: Store, ) { } ngOnInit() { this.metaCrawlers$ = this.store.pipe(select(MetaCrawlerEntitySelector.selectAll)); } ngOnDestroy(): void { } }