@esfaenza/extensions 11.2.15 → 11.2.16

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.
@@ -48,4 +48,14 @@ export declare abstract class BaseStorageProvider {
48
48
  * Restituisce true se l'operazione è andata a buon fine, false altrimenti
49
49
  */
50
50
  abstract clear(identity: string): Observable<boolean>;
51
+ /**
52
+ * Ottiene tutte le chiavi salvate nello store locale
53
+ *
54
+ * @param {string} identity Chiave che rappresenta la sessione per cui questi dati devono essere recuperati
55
+ *
56
+ * @returns {Observable<{ [index: string]: string; }>} Observable che viene risolto quando l'operazione di recupero dati termina.
57
+ */
58
+ abstract getAll(identity: string): Observable<{
59
+ [index: string]: string;
60
+ }>;
51
61
  }
@@ -12,4 +12,8 @@ export declare class DefaultStorageProvider extends BaseStorageProvider {
12
12
  removeItem(identity: string, key: string): Observable<boolean>;
13
13
  /** @ignore Implementazione di Default con localStorage. Identity viene ignorata perché essendo già nel localStorage è già per sito */
14
14
  clear(identity: string): Observable<boolean>;
15
+ /** @ignore Implementazione di Default con localStorage. Identity viene ignorata perché essendo già nel localStorage è già per sito */
16
+ getAll(identity: string): Observable<{
17
+ [index: string]: string;
18
+ }>;
15
19
  }
@@ -42,4 +42,12 @@ export declare class StorageService {
42
42
  * @param {string} storeName Chiave del localStorage da ripulire
43
43
  */
44
44
  clear(): Observable<boolean>;
45
+ /**
46
+ * Restituisce tutte le chiavi-valore associate alla sessione corrente
47
+ *
48
+ * @returns {Observable<{ [index: string]: string; }>} Risultato della query
49
+ */
50
+ getAll(): Observable<{
51
+ [index: string]: string;
52
+ }>;
45
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/extensions",
3
- "version": "11.2.15",
3
+ "version": "11.2.16",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },