Implementing an 'account' dialog (WIP)

This commit is contained in:
vdv committed 2022-12-25 16:30:47 +01:00
1 parent 0e2ffb0cf2
commit a36c8a28a4
12 files changed
+235 -22

No files matched your search

+8
View File
@@ -1,5 +1,6 @@
/// <reference lib="webworker" />
import { initDb } from '../db';
import { getAccounts, putAccount } from '../db/account';
import { cancelWatch, getAndWatch } from '../db/change-handler';
import {
putNewGpx,
@@ -11,6 +12,7 @@ import {
getAllGpxes,
getAllGpxesWithSummary,
} from '../db/gpx';
import { getSettings, putSettings } from '../db/settings';
import { getState, setState } from '../db/state';
import { getTrk, putNewTrk } from '../db/trk';
import { getTrkseg, appendTrkpt } from '../db/trkseg';
@@ -43,6 +45,12 @@ onmessage = async function (e) {
getAndWatch,
cancelWatch,
getSettings,
putSettings,
getAccounts,
putAccount,
};
console.log({ caller: 'dispatcher-worker / onmessage', e });