http-request-manager 18.13.31 → 18.13.32
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.
|
@@ -7073,6 +7073,7 @@ class HTTPManagerStateService extends ComponentStore {
|
|
|
7073
7073
|
return this.dbManagerService.getTableRecords(this.databaseOptions.table).pipe(switchMap((dbData) => {
|
|
7074
7074
|
if (Array.isArray(dbData) && dbData.length > 0) {
|
|
7075
7075
|
this.setData$(dbData);
|
|
7076
|
+
this.saveRequestCacheMetadata(this.databaseOptions.table, 'GET', requestSignature, storedSchemaSignature ?? undefined, options);
|
|
7076
7077
|
return of(dbData);
|
|
7077
7078
|
}
|
|
7078
7079
|
const currentStateData = this.get()?.data;
|
|
@@ -7603,7 +7604,7 @@ class HTTPManagerStateService extends ComponentStore {
|
|
|
7603
7604
|
const schemaKeys = Object.keys(sampleData || {}).filter(key => sampleData[key] !== undefined);
|
|
7604
7605
|
let schema = '++id';
|
|
7605
7606
|
if (schemaKeys.length > 0) {
|
|
7606
|
-
const otherKeys = schemaKeys.filter((k) => k !== 'id');
|
|
7607
|
+
const otherKeys = schemaKeys.filter((k) => k !== 'id').sort();
|
|
7607
7608
|
if (otherKeys.length > 0) {
|
|
7608
7609
|
schema += ', ' + otherKeys.join(', ');
|
|
7609
7610
|
}
|