@Injectable()
export class ArticlesQuery {
selectResult$ = this.store.select(state => state.posts.result);
selectArticles$ = this.store.select(state => state.posts.entities.articles);
selectComments$ = this.store.select(state => state.posts.entities.comments);
selectUsers$ = this.store.select(state => state.posts.entities.users);
constructor( private store : Store<AppState> ) {}
}