UNPKG

my-test123

Version:
50 lines (49 loc) 1.81 kB
import { Store } from '@ngrx/store'; import { Actions } from '@ngrx/effects'; import { Notifications } from "ngx-base"; import * as WorkItemActions from './../actions/work-item.actions'; import { AppState } from './../states/app.state'; import { Observable } from 'rxjs'; import { WorkItemService as WIService } from './../services/work-item.service'; import { WorkItemUI } from './../models/work-item'; export declare type Action = WorkItemActions.All; export declare class WorkItemEffects { private actions$; private workItemService; private store; private notifications; private workItemMapper; constructor(actions$: Actions, workItemService: WIService, store: Store<AppState>, notifications: Notifications); resolveWorkItems(workItems: any, state: any, matchingQuery?: boolean, ancestors?: string[]): WorkItemUI[]; addWorkItems$: Observable<WorkItemActions.AddSuccess | WorkItemActions.AddError | WorkItemActions.GetChildren>; getWorkItems$: Observable<Action>; getWorkItemChildren$: Observable<Action>; updateWorkItem$: Observable<Action>; createLinkObject(parentWorkItemId: string, childWorkItemId: string, linkId: string): { 'type': string; 'attributes': { 'version': number; }; 'relationships': { 'link_type': { 'data': { 'id': string; 'type': string; }; }; 'source': { 'data': { 'id': string; 'type': string; }; }; 'target': { 'data': { 'id': string; 'type': string; }; }; }; }; Reorder: Observable<Action>; }