@stemy/ngx-utils 19.7.22 → 19.7.23
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/fesm2022/stemy-ngx-utils.mjs +18 -2
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +1 -0
- package/ngx-utils/services/base-http.client.d.ts +1 -0
- package/ngx-utils/services/base-http.service.d.ts +1 -1
- package/ngx-utils/utils/object.utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -491,6 +491,7 @@ export interface IBaseHttpClient extends HttpClient {
|
|
|
491
491
|
setHeader(name: string, value?: string | string[]): void;
|
|
492
492
|
getHeader(name: string): string;
|
|
493
493
|
setParam(name: string, value?: any): void;
|
|
494
|
+
setExtraRequestParam(name: string, value?: any): void;
|
|
494
495
|
makeHeaders(): HttpHeaders;
|
|
495
496
|
}
|
|
496
497
|
export interface IApiService extends IHttpService {
|
|
@@ -11,6 +11,7 @@ export declare class BaseHttpClient extends HttpClient implements IBaseHttpClien
|
|
|
11
11
|
setHeader(name: string, value?: string | string[]): void;
|
|
12
12
|
getHeader(name: string): string;
|
|
13
13
|
setParam(name: string, value?: any): void;
|
|
14
|
+
setExtraRequestParam(name: string, value?: any): void;
|
|
14
15
|
makeHeaders(): HttpHeaders;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseHttpClient, never>;
|
|
16
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseHttpClient>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector } from "@angular/core";
|
|
2
2
|
import { HttpHeaders, HttpParams } from "@angular/common/http";
|
|
3
3
|
import { Request } from "express";
|
|
4
|
-
import { CacheExpireMode,
|
|
4
|
+
import { CacheExpireMode, HttpClientRequestOptions, HttpRequestHeaders, HttpRequestOptions, HttpRequestQuery, IConfigService, IHttpService, IIssueContext, ILanguageService, IPaginationData, IToasterService, ProgressListener, UploadData } from "../common-types";
|
|
5
5
|
import { BaseHttpClient } from "./base-http.client";
|
|
6
6
|
import { UniversalService } from "./universal.service";
|
|
7
7
|
import { StorageService } from "./storage.service";
|
|
@@ -17,6 +17,7 @@ export declare class ObjectUtils {
|
|
|
17
17
|
static filter(obj: any, predicate: FilterPredicate): any;
|
|
18
18
|
static copy<T>(obj: T): T;
|
|
19
19
|
static assign<T>(target: T, source: any, predicate?: FilterPredicate): T;
|
|
20
|
+
static hashCode(obj: any): number;
|
|
20
21
|
static getType(obj: any): string;
|
|
21
22
|
static isPrimitive(value: any): boolean;
|
|
22
23
|
static isObject(value: any): boolean;
|