http-request-manager 18.15.15 → 18.15.17
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.15.
|
|
3
|
+
"version": "18.15.17",
|
|
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",
|
|
@@ -495,6 +495,7 @@ declare class DbService extends Dexie {
|
|
|
495
495
|
private _doCreateTable;
|
|
496
496
|
protected DBOpened(): Promise<boolean>;
|
|
497
497
|
private getCurrentSchema;
|
|
498
|
+
protected deleteAndReinitialize(): Observable<boolean>;
|
|
498
499
|
protected cleanTableName(str: string): string;
|
|
499
500
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbService, never>;
|
|
500
501
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbService>;
|
|
@@ -524,6 +525,7 @@ declare class DatabaseManagerService extends DbService {
|
|
|
524
525
|
deleteTableRecords(table: string, ids: number[]): Observable<number[]>;
|
|
525
526
|
clearTable(table: string): Observable<never[]>;
|
|
526
527
|
clearDatabase(): void;
|
|
528
|
+
resetDatabase(): Observable<boolean>;
|
|
527
529
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseManagerService, never>;
|
|
528
530
|
static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseManagerService>;
|
|
529
531
|
}
|
|
@@ -713,20 +715,6 @@ declare class HTTPManagerStateService<T extends {
|
|
|
713
715
|
private readonly deleteData$;
|
|
714
716
|
private readonly updateData$;
|
|
715
717
|
readonly clearRecords: (observableOrValue?: void | Observable<void> | undefined) => Subscription;
|
|
716
|
-
/**
|
|
717
|
-
* Resolves whether a request should use cached/DB data or call the API.
|
|
718
|
-
* Shared by both fetchRecords (GET) and fetchStream (STREAM) to ensure parity.
|
|
719
|
-
*
|
|
720
|
-
* Decision order:
|
|
721
|
-
* 1. forceRefresh → API
|
|
722
|
-
* 2. cache expired → clear + API
|
|
723
|
-
* 3. schema mismatch → clear + rebuild + API
|
|
724
|
-
* 4. tracker blocks request → DB/state fallback
|
|
725
|
-
* 5. tracker allows request → API (with optional no-query DB shortcut)
|
|
726
|
-
*
|
|
727
|
-
* Returns an observable of the result data.
|
|
728
|
-
*/
|
|
729
|
-
private resolveCacheDecision;
|
|
730
718
|
readonly fetchRecords: (options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
|
|
731
719
|
private initDBStorageAsync;
|
|
732
720
|
private buildSchemaFromAdapter;
|
|
Binary file
|