http-request-manager 18.11.22 → 18.11.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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "http-request-manager",
|
|
3
|
-
"version": "18.11.
|
|
3
|
+
"version": "18.11.23",
|
|
4
4
|
"homepage": "https://wavecoders.ca",
|
|
5
5
|
"author": "Mike Bonifacio <wavecoders@gmail.com> (http://wavecoders@gmail.com/)",
|
|
6
6
|
"description": "This is an Angular Module containing Components/Services using Material",
|
|
@@ -203,6 +203,7 @@ interface ApiRequestInterface {
|
|
|
203
203
|
displayError?: boolean;
|
|
204
204
|
displaySuccess?: boolean;
|
|
205
205
|
successMessage?: string;
|
|
206
|
+
errorMessage?: string;
|
|
206
207
|
saveAs?: string;
|
|
207
208
|
fileContentHeader?: string;
|
|
208
209
|
ws?: WSOptions;
|
|
@@ -221,11 +222,12 @@ declare class ApiRequest implements ApiRequestInterface {
|
|
|
221
222
|
displayError?: boolean | undefined;
|
|
222
223
|
displaySuccess?: boolean | undefined;
|
|
223
224
|
successMessage?: string | undefined;
|
|
225
|
+
errorMessage?: string | undefined;
|
|
224
226
|
saveAs?: string | undefined;
|
|
225
227
|
fileContentHeader?: string | undefined;
|
|
226
228
|
ws?: WSOptions | undefined;
|
|
227
229
|
env?: string | undefined;
|
|
228
|
-
constructor(server?: string, path?: any[] | undefined, headers?: any, adapter?: any, mapper?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, streamType?: StreamType | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined, successMessage?: string | undefined, saveAs?: string | undefined, fileContentHeader?: string | undefined, ws?: WSOptions | undefined, env?: string | undefined);
|
|
230
|
+
constructor(server?: string, path?: any[] | undefined, headers?: any, adapter?: any, mapper?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, streamType?: StreamType | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined, successMessage?: string | undefined, errorMessage?: string | undefined, saveAs?: string | undefined, fileContentHeader?: string | undefined, ws?: WSOptions | undefined, env?: string | undefined);
|
|
229
231
|
static adapt(item?: any): ApiRequest;
|
|
230
232
|
}
|
|
231
233
|
|
|
@@ -1053,7 +1055,7 @@ interface BatchOptionsInterface {
|
|
|
1053
1055
|
ignoreErrors?: boolean;
|
|
1054
1056
|
logErrors?: boolean;
|
|
1055
1057
|
displaySuccess?: boolean;
|
|
1056
|
-
|
|
1058
|
+
displayError?: boolean;
|
|
1057
1059
|
}
|
|
1058
1060
|
declare class BatchOptions implements BatchOptionsInterface {
|
|
1059
1061
|
mode: 'sequential' | 'parallel';
|
|
@@ -1062,8 +1064,8 @@ declare class BatchOptions implements BatchOptionsInterface {
|
|
|
1062
1064
|
ignoreErrors: boolean;
|
|
1063
1065
|
logErrors: boolean;
|
|
1064
1066
|
displaySuccess?: boolean | undefined;
|
|
1065
|
-
|
|
1066
|
-
constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean, displaySuccess?: boolean | undefined,
|
|
1067
|
+
displayError?: boolean | undefined;
|
|
1068
|
+
constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean, displaySuccess?: boolean | undefined, displayError?: boolean | undefined);
|
|
1067
1069
|
static adapt(item?: any): BatchOptions;
|
|
1068
1070
|
}
|
|
1069
1071
|
|
|
@@ -1136,7 +1138,6 @@ interface ConfigHTTPOptionsInterface {
|
|
|
1136
1138
|
stream?: boolean;
|
|
1137
1139
|
displayError?: boolean;
|
|
1138
1140
|
displaySuccess?: boolean;
|
|
1139
|
-
successMessage?: string;
|
|
1140
1141
|
}
|
|
1141
1142
|
declare class ConfigHTTPOptions implements ConfigHTTPOptionsInterface {
|
|
1142
1143
|
server: string;
|
|
@@ -1147,8 +1148,7 @@ declare class ConfigHTTPOptions implements ConfigHTTPOptionsInterface {
|
|
|
1147
1148
|
stream?: boolean | undefined;
|
|
1148
1149
|
displayError?: boolean | undefined;
|
|
1149
1150
|
displaySuccess?: boolean | undefined;
|
|
1150
|
-
|
|
1151
|
-
constructor(server?: string, path?: any[] | undefined, headers?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined, successMessage?: string | undefined);
|
|
1151
|
+
constructor(server?: string, path?: any[] | undefined, headers?: any, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined);
|
|
1152
1152
|
static adapt(item?: any): ConfigHTTPOptions;
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
@@ -1499,14 +1499,14 @@ declare class HTTPManagerService<T> extends RequestService {
|
|
|
1499
1499
|
* @param options Optional batch configuration
|
|
1500
1500
|
* @returns Observable emitting array of data when all requests complete
|
|
1501
1501
|
*/
|
|
1502
|
-
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1502
|
+
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1503
1503
|
/**
|
|
1504
1504
|
* Execute requests in parallel with concurrency control
|
|
1505
1505
|
* @param requests Array of ApiRequest configurations
|
|
1506
1506
|
* @param options Optional batch configuration with concurrency limit
|
|
1507
1507
|
* @returns Observable emitting array of data when all requests complete
|
|
1508
1508
|
*/
|
|
1509
|
-
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1509
|
+
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Execute multiple HTTP requests and emit individual state changes in real-time
|
|
1512
1512
|
* @param requests Array of ApiRequest configurations
|
|
@@ -1689,14 +1689,14 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
|
|
|
1689
1689
|
* @param options Optional batch configuration
|
|
1690
1690
|
* @returns Observable emitting array of data when all requests complete
|
|
1691
1691
|
*/
|
|
1692
|
-
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1692
|
+
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Execute requests in parallel with concurrency control
|
|
1695
1695
|
* @param requests Array of ApiRequest configurations
|
|
1696
1696
|
* @param options Optional batch configuration with concurrency limit
|
|
1697
1697
|
* @returns Observable emitting array of data when all requests complete
|
|
1698
1698
|
*/
|
|
1699
|
-
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1699
|
+
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Execute multiple HTTP requests and emit individual state changes in real-time
|
|
1702
1702
|
* @param requests Array of ApiRequest configurations
|
|
Binary file
|