UNPKG

814 BTypeScriptView Raw
1import 'rxjs/add/operator/map';
2import 'rxjs/add/operator/mergeMap';
3import 'rxjs/add/operator/switchMap';
4import { Router } from '@angular/router';
5import { Observable } from 'rxjs/Observable';
6import { Actions } from '@ngrx/effects';
7import { UserService } from '../services';
8import { GetProfileStart, GetProfileSucceed, GetProfileFailed } from './profile-view.actions';
9import { RefreshUserInfoAction } from '../dashboard';
10export declare class ProfileViewEffects {
11 private actions$;
12 private router;
13 private userService;
14 constructor(actions$: Actions<any>, router: Router, userService: UserService);
15 ProfileRequest$: Observable<GetProfileStart>;
16 getProfile$: Observable<GetProfileSucceed | GetProfileFailed>;
17 refreshUserInfo$: Observable<RefreshUserInfoAction>;
18}