src/frontend/packages/store/src/effects/endpoint.effects.ts
File endpoint.effects.ts
has 302 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { HttpClient, HttpErrorResponse, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Actions, Effect, ofType } from '@ngrx/effects';
import { Store } from '@ngrx/store';
import { catchError, mergeMap } from 'rxjs/operators';
Function doEndpointAction
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private doEndpointAction(
apiAction: EntityRequestAction | PaginatedAction,
url: string,
params: HttpParams,
apiActionType: ApiRequestTypes = 'update',