@esfaenza/httpservice 16.2.27 → 17.3.0
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/esm2022/esfaenza-httpservice.mjs +4 -4
- package/esm2022/lib/config/HttpServiceExtensions.mjs +86 -86
- package/esm2022/lib/config/HttpServiceModuleConfig.mjs +5 -5
- package/esm2022/lib/config/IHttpServiceExtensions.mjs +1 -1
- package/esm2022/lib/httpservice.module.mjs +22 -22
- package/esm2022/lib/httpservice.service.mjs +842 -842
- package/esm2022/lib/models/CacheInfos.mjs +9 -9
- package/esm2022/lib/models/Download.mjs +2 -2
- package/esm2022/lib/tokens.mjs +21 -21
- package/esm2022/public-api.mjs +10 -10
- package/fesm2022/esfaenza-httpservice.mjs +962 -962
- package/fesm2022/esfaenza-httpservice.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/config/HttpServiceExtensions.d.ts +65 -65
- package/lib/config/HttpServiceModuleConfig.d.ts +25 -25
- package/lib/config/IHttpServiceExtensions.d.ts +61 -61
- package/lib/httpservice.module.d.ts +9 -9
- package/lib/httpservice.service.d.ts +379 -379
- package/lib/models/CacheInfos.d.ts +8 -8
- package/lib/models/Download.d.ts +5 -5
- package/lib/tokens.d.ts +21 -21
- package/package.json +7 -7
- package/public-api.d.ts +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare class CacheInfos {
|
|
2
|
-
finalUrl: string;
|
|
3
|
-
cache: boolean;
|
|
4
|
-
cacheKey: string;
|
|
5
|
-
cacheTime: string;
|
|
6
|
-
cacheItem: any;
|
|
7
|
-
constructor(finalUrl: string, cache: boolean, cacheKey: string, cacheTime: string, cacheItem: any);
|
|
8
|
-
}
|
|
1
|
+
export declare class CacheInfos {
|
|
2
|
+
finalUrl: string;
|
|
3
|
+
cache: boolean;
|
|
4
|
+
cacheKey: string;
|
|
5
|
+
cacheTime: string;
|
|
6
|
+
cacheItem: any;
|
|
7
|
+
constructor(finalUrl: string, cache: boolean, cacheKey: string, cacheTime: string, cacheItem: any);
|
|
8
|
+
}
|
package/lib/models/Download.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class Download {
|
|
2
|
-
state: 'PENDING' | 'IN_PROGRESS' | 'DONE';
|
|
3
|
-
progress: number;
|
|
4
|
-
content: Blob | null;
|
|
5
|
-
}
|
|
1
|
+
export declare class Download {
|
|
2
|
+
state: 'PENDING' | 'IN_PROGRESS' | 'DONE';
|
|
3
|
+
progress: number;
|
|
4
|
+
content: Blob | null;
|
|
5
|
+
}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
/**
|
|
3
|
-
* Dizionario di invalidazioni delle chiamate HTTP
|
|
4
|
-
*/
|
|
5
|
-
export declare const HTTP_INVALIDATION: InjectionToken<Record<string, string[]>>;
|
|
6
|
-
/**
|
|
7
|
-
* Durata della cache lato libreria dopo il quale la cache verrà ripulita
|
|
8
|
-
*/
|
|
9
|
-
export declare const CLIENT_CACHE_DURATION_S: InjectionToken<number>;
|
|
10
|
-
/**
|
|
11
|
-
* Nome dell'APP utilizzato per creare le chiavi delle cache specifiche per l'applicazione corrente
|
|
12
|
-
*/
|
|
13
|
-
export declare const APP_NAME: InjectionToken<string>;
|
|
14
|
-
/**
|
|
15
|
-
* Indica se utilizzare l'identificativo utente nella cache
|
|
16
|
-
*/
|
|
17
|
-
export declare const CACHE_BY_USER: InjectionToken<boolean>;
|
|
18
|
-
/**
|
|
19
|
-
* Indica se fare log nella console ad ogni azione significativa
|
|
20
|
-
*/
|
|
21
|
-
export declare const HTTP_DEBUG_MODE: InjectionToken<boolean>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Dizionario di invalidazioni delle chiamate HTTP
|
|
4
|
+
*/
|
|
5
|
+
export declare const HTTP_INVALIDATION: InjectionToken<Record<string, string[]>>;
|
|
6
|
+
/**
|
|
7
|
+
* Durata della cache lato libreria dopo il quale la cache verrà ripulita
|
|
8
|
+
*/
|
|
9
|
+
export declare const CLIENT_CACHE_DURATION_S: InjectionToken<number>;
|
|
10
|
+
/**
|
|
11
|
+
* Nome dell'APP utilizzato per creare le chiavi delle cache specifiche per l'applicazione corrente
|
|
12
|
+
*/
|
|
13
|
+
export declare const APP_NAME: InjectionToken<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Indica se utilizzare l'identificativo utente nella cache
|
|
16
|
+
*/
|
|
17
|
+
export declare const CACHE_BY_USER: InjectionToken<boolean>;
|
|
18
|
+
/**
|
|
19
|
+
* Indica se fare log nella console ad ogni azione significativa
|
|
20
|
+
*/
|
|
21
|
+
export declare const HTTP_DEBUG_MODE: InjectionToken<boolean>;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/httpservice",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.3.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "^
|
|
9
|
-
"@angular/core": "^
|
|
10
|
-
"@esfaenza/extensions": "^
|
|
11
|
-
"@esfaenza/localizations": "^
|
|
12
|
-
"@esfaenza/preferences": "^
|
|
8
|
+
"@angular/common": "^17.3.12",
|
|
9
|
+
"@angular/core": "^17.3.12",
|
|
10
|
+
"@esfaenza/extensions": "^17.3.0",
|
|
11
|
+
"@esfaenza/localizations": "^17.3.0",
|
|
12
|
+
"@esfaenza/preferences": "^17.3.0",
|
|
13
13
|
"dayjs": "1.11.13",
|
|
14
|
-
"ngx-toastr": "
|
|
14
|
+
"ngx-toastr": "17.0.2",
|
|
15
15
|
"sweetalert2": "11.17.2"
|
|
16
16
|
},
|
|
17
17
|
"module": "fesm2022/esfaenza-httpservice.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './lib/tokens';
|
|
2
|
-
export * from './lib/httpservice.service';
|
|
3
|
-
export * from './lib/httpservice.module';
|
|
4
|
-
export * from './lib/config/HttpServiceModuleConfig';
|
|
5
|
-
export * from './lib/config/IHttpServiceExtensions';
|
|
6
|
-
export * from './lib/config/HttpServiceExtensions';
|
|
7
|
-
export * from './lib/models/Download';
|
|
1
|
+
export * from './lib/tokens';
|
|
2
|
+
export * from './lib/httpservice.service';
|
|
3
|
+
export * from './lib/httpservice.module';
|
|
4
|
+
export * from './lib/config/HttpServiceModuleConfig';
|
|
5
|
+
export * from './lib/config/IHttpServiceExtensions';
|
|
6
|
+
export * from './lib/config/HttpServiceExtensions';
|
|
7
|
+
export * from './lib/models/Download';
|