Refactor db and local-cache code
Separated cwmp and ui code into distinct files to enhance clarity and maintainability with varied internal data representations.
This commit is contained in:
1 parent
493f1d2f37
commit
c3954c277f
31 files changed
+1542
-1530
No files matched your search
+2
-2
@@ -19,7 +19,7 @@
|
||||
|
||||
import * as device from "./device";
|
||||
import * as sandbox from "./sandbox";
|
||||
import * as localCache from "./local-cache";
|
||||
import * as localCache from "./cwmp/local-cache";
|
||||
import * as defaultProvisions from "./default-provisions";
|
||||
import { estimateGpnCount } from "./gpn-heuristic";
|
||||
import Path from "./common/path";
|
||||
@@ -3004,7 +3004,7 @@ export async function deserialize(
|
||||
|
||||
sessionContext.deviceData = deviceData;
|
||||
// Ensure cache is populated
|
||||
await localCache.getCurrentSnapshot();
|
||||
await localCache.getRevision();
|
||||
|
||||
return sessionContext;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user