@stemy/ngx-utils 13.5.0 → 13.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/ngx-utils/services/base-http.service.mjs +9 -5
- package/fesm2015/stemy-ngx-utils.mjs +7 -3
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +7 -3
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/services/base-http.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
1
2
|
import { HttpHeaders, HttpParams } from "@angular/common/http";
|
|
2
3
|
import { Request } from "express";
|
|
3
4
|
import { HttpPromise, IConfigService, IHttpHeaders, IHttpParams, IHttpService, IIssueContext, ILanguageService, IPaginationData, IRequestOptions, IToasterService, ProgressListener } from "../common-types";
|
|
@@ -6,6 +7,7 @@ import { UniversalService } from "./universal.service";
|
|
|
6
7
|
import { StorageService } from "./storage.service";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class BaseHttpService implements IHttpService {
|
|
10
|
+
readonly injector: Injector;
|
|
9
11
|
readonly client: BaseHttpClient;
|
|
10
12
|
readonly storage: StorageService;
|
|
11
13
|
readonly language: ILanguageService;
|
|
@@ -20,7 +22,7 @@ export declare class BaseHttpService implements IHttpService {
|
|
|
20
22
|
cache: any;
|
|
21
23
|
protected static retryFailedRequests(): void;
|
|
22
24
|
get universal(): UniversalService;
|
|
23
|
-
constructor(client: BaseHttpClient, storage: StorageService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: Request);
|
|
25
|
+
constructor(injector: Injector, client: BaseHttpClient, storage: StorageService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: Request);
|
|
24
26
|
protected initService(): void;
|
|
25
27
|
url(url: string): string;
|
|
26
28
|
createUrl(url: string, params: IHttpParams): string;
|
|
@@ -46,6 +48,6 @@ export declare class BaseHttpService implements IHttpService {
|
|
|
46
48
|
protected parseUrl(url: string): string;
|
|
47
49
|
protected absoluteUrl(url: string, options: IRequestOptions): Promise<string>;
|
|
48
50
|
protected expressRequestUrl(url: string): string;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpService, [null, null, null, null, null, { optional: true; }]>;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
50
52
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpService>;
|
|
51
53
|
}
|