coer-elements 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/fesm2022/coer-elements-pages.mjs +2 -2
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +71 -10
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/interfaces/lib/service/http-request.interface.d.ts +2 -0
- package/package.json +1 -1
- package/tools/lib/service.class.d.ts +2 -0
@@ -2,6 +2,8 @@ import { HttpHeaders, HttpParams } from "@angular/common/http";
|
|
2
2
|
import { IPatch } from "./patch.interface";
|
3
3
|
export interface IHttpRequest<T> {
|
4
4
|
url: string;
|
5
|
+
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
6
|
+
withCredentials?: boolean;
|
5
7
|
body?: T | IPatch[] | {};
|
6
8
|
queryParams?: HttpParams;
|
7
9
|
headers?: HttpHeaders;
|
package/package.json
CHANGED
@@ -36,5 +36,7 @@ export declare class Service {
|
|
36
36
|
/** HTTP DELETE */
|
37
37
|
protected HTTP_DELETE<T>(request: IHttpRequest<T>, cancelPrevious?: boolean): Promise<IHttpResponse<void>>;
|
38
38
|
/** */
|
39
|
+
protected DOWNLOAD_CSV(buffer: ArrayBuffer, fileName?: string): Blob;
|
40
|
+
/** */
|
39
41
|
private AlertError;
|
40
42
|
}
|