All files / src/app/linqpad-review-pages/validations/services validations.actions.ts

100% Statements 13/13
100% Branches 2/2
100% Functions 2/2
100% Lines 10/10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 211x 1x 1x       1x     1x   4x 1x     4x   4x   1x  
import { Injectable} from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { NgRedux, select } from '@angular-redux/store';
 
import { IAppState } from '../../../store/state/AppState';
import { IFileInfo } from '../../../model/fileInfo.model';
import { PageActions } from '../../common/page.actions';
 
@Injectable()
export class ValidationsActions extends PageActions {
 
  public PAGE = 'validations';
  @select(['pages', 'validations', 'fileInfo']) fileInfo$: Observable<IFileInfo>;
 
  constructor(
    protected ngRedux: NgRedux<IAppState>,
  ) {
    super(ngRedux);
  }
}