Reimplementing GPX imports.

This commit is contained in:
vdv committed 2022-11-14 18:35:04 +01:00
1 parent a2d0e8cf6a
commit 5fdd63103e
8 files changed
+148 -5

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
import { initDb } from '../db';
import { putNewGpx } from '../db/gpx';
import { putNewGpx, existsGpx, pruneAndSaveImportedGpx } from '../db/gpx';
import { putNewTrk } from '../db/trk';
const self = globalThis as unknown as SharedWorkerGlobalScope;
const actions = { initDb, putNewGpx, putNewTrk };
const actions = { initDb, putNewGpx, putNewTrk, existsGpx, pruneAndSaveImportedGpx };
self.onconnect = function (e) {
var port = e.ports[0];