http-request-manager 18.13.17 → 18.13.19
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.13.
|
|
3
|
+
"version": "18.13.19",
|
|
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",
|
|
@@ -511,6 +511,7 @@ declare class DatabaseManagerService extends DbService {
|
|
|
511
511
|
getTableRecord(table: string, id: number): Observable<any>;
|
|
512
512
|
createTableRecord(table: string, record: any): Observable<any>;
|
|
513
513
|
createTableRecords(table: string, records: any[]): Observable<any[]>;
|
|
514
|
+
private isMissingObjectStoreError;
|
|
514
515
|
updateTableRecord(table: string, record: any): Observable<any>;
|
|
515
516
|
updateTableRecords(table: string, records: any[]): Observable<any[]>;
|
|
516
517
|
deleteTableRecord<T>(table: string, id: number): Observable<number | null>;
|
|
@@ -537,9 +538,9 @@ declare class QueryParamsTrackerOptionsModel implements QueryParamsTrackerOption
|
|
|
537
538
|
|
|
538
539
|
type QueryParamsTrackerOptions = QueryParamsTrackerOptionsInterface;
|
|
539
540
|
declare class QueryParamsTrackerService {
|
|
540
|
-
private readonly localStorageManager;
|
|
541
541
|
private state;
|
|
542
542
|
private stateRestored;
|
|
543
|
+
private readonly localStorageManager;
|
|
543
544
|
clearTracking(resetSessionInit?: boolean): void;
|
|
544
545
|
checkRequestOptions(requestOptions?: any[], options?: QueryParamsTrackerOptions): boolean;
|
|
545
546
|
matchesPath(requestOptions?: any[], expectedPathOptions?: any[]): boolean;
|
|
@@ -549,7 +550,6 @@ declare class QueryParamsTrackerService {
|
|
|
549
550
|
private parsePathSegment;
|
|
550
551
|
private safeDecode;
|
|
551
552
|
private normalizePath;
|
|
552
|
-
private extractPathFromSegment;
|
|
553
553
|
private normalizeParamKey;
|
|
554
554
|
private normalizeParamValue;
|
|
555
555
|
private buildExpiryEpoch;
|
|
@@ -559,13 +559,9 @@ declare class QueryParamsTrackerService {
|
|
|
559
559
|
private ensureStateRestored;
|
|
560
560
|
private initializeTrackingForSession;
|
|
561
561
|
private restoreState;
|
|
562
|
-
private tryHydrateStateFromPersistedStore;
|
|
563
|
-
private getTrackerStateFromRawStorage;
|
|
564
|
-
private safeParseRawStorage;
|
|
565
562
|
private persistState;
|
|
566
563
|
private stringifyQuery;
|
|
567
564
|
private isTrackerState;
|
|
568
|
-
private isTrackerPathState;
|
|
569
565
|
private isPlainObject;
|
|
570
566
|
private hasSessionStorage;
|
|
571
567
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryParamsTrackerService, never>;
|
|
@@ -861,7 +857,6 @@ declare class HTTPManagerStateService<T extends {
|
|
|
861
857
|
* Does not re-fetch from API - leaves state empty for manual refresh
|
|
862
858
|
*/
|
|
863
859
|
clearDatabase(): void;
|
|
864
|
-
clearTable(tableName: string): void;
|
|
865
860
|
private isEmpty;
|
|
866
861
|
private updateRequestOptions;
|
|
867
862
|
private buildQueryTrackerOptions;
|
|
@@ -1931,8 +1926,6 @@ declare class LocalStorageManagerService extends ComponentStore<State> implement
|
|
|
1931
1926
|
readonly store$: (store: string) => rxjs.Observable<any>;
|
|
1932
1927
|
readonly settings$: rxjs.Observable<StorageOption[]>;
|
|
1933
1928
|
readonly setting$: (store: string) => rxjs.Observable<StorageOption | null>;
|
|
1934
|
-
getStoreSync(storeName: string): any;
|
|
1935
|
-
getPersistedStoreSync(storeName: string): any;
|
|
1936
1929
|
persistence$: rxjs.Subscription;
|
|
1937
1930
|
startTimer(): void;
|
|
1938
1931
|
private updateState;
|
|
@@ -2221,14 +2214,12 @@ interface PathTrackerStateInterface {
|
|
|
2221
2214
|
baselineQuery?: NormalizedQueryParams;
|
|
2222
2215
|
consumedValuesByKey: Record<string, QueryValue[]>;
|
|
2223
2216
|
watchExpiresAt?: number;
|
|
2224
|
-
trackedAt?: number;
|
|
2225
2217
|
}
|
|
2226
2218
|
declare class PathTrackerStateModel implements PathTrackerStateInterface {
|
|
2227
2219
|
baselineQuery?: NormalizedQueryParams | undefined;
|
|
2228
2220
|
consumedValuesByKey: Record<string, QueryValue[]>;
|
|
2229
2221
|
watchExpiresAt?: number | undefined;
|
|
2230
|
-
|
|
2231
|
-
constructor(baselineQuery?: NormalizedQueryParams | undefined, consumedValuesByKey?: Record<string, QueryValue[]>, watchExpiresAt?: number | undefined, trackedAt?: number | undefined);
|
|
2222
|
+
constructor(baselineQuery?: NormalizedQueryParams | undefined, consumedValuesByKey?: Record<string, QueryValue[]>, watchExpiresAt?: number | undefined);
|
|
2232
2223
|
static adapt(item?: any): PathTrackerStateModel;
|
|
2233
2224
|
}
|
|
2234
2225
|
|
|
Binary file
|