{"version":3,"file":"interceptor.service.d.ts","sources":["interceptor.service.d.ts"],"names":[],"mappings":"AAAA;;;;AAGA;;;;;;;;;;;;;;;;;AAgBA","sourcesContent":["import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';\r\nimport { HttpSpinnerService } from './http-spinner.service';\r\nimport { Observable } from 'rxjs';\r\nexport declare class InterceptorService implements HttpInterceptor {\r\n    private httpStateService;\r\n    private exceptions;\r\n    constructor(httpStateService: HttpSpinnerService);\r\n    /**\r\n     * Intercepts all requests\r\n     * - in case of an error (network errors included) it repeats a request 3 times\r\n     * - all other error can be handled an error specific case\r\n     * and redirects into specific error pages if necessary\r\n     *\r\n     * There is an exception list for specific URL patterns that we don't want the application to act\r\n     * automatically\r\n     *\r\n     * The interceptor also reports back to the httpStateService when a certain requests started and ended\r\n     */\r\n    intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;\r\n}\r\n"]}