diff --git a/Pulsar/WebApp/package.json b/Pulsar/WebApp/package.json index ffbcad3..3fc862d 100644 --- a/Pulsar/WebApp/package.json +++ b/Pulsar/WebApp/package.json @@ -13,12 +13,12 @@ }, "devDependencies": { "@biomejs/biome": "1.6.4", + "@microsoft/signalr": "^8.0.0", "@playwright/test": "^1.28.1", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/eslint": "^8.56.7", - "@microsoft/signalr": "^8.0.0", "eslint-plugin-svelte": "^2.36.0", "globals": "^15.0.0", "sass": "^1.75.0", @@ -29,5 +29,9 @@ "typescript-eslint": "^7.5.0", "vite": "^5.0.3" }, - "type": "module" + "type": "module", + "dependencies": { + "@sveltestack/svelte-query": "^1.6.0", + "axios": "^1.6.8" + } } diff --git a/Pulsar/WebApp/src/lib/Debug.svelte b/Pulsar/WebApp/src/lib/Debug.svelte new file mode 100644 index 0000000..68a9973 --- /dev/null +++ b/Pulsar/WebApp/src/lib/Debug.svelte @@ -0,0 +1,69 @@ + + +

Debug

+ +{#if $query.isLoading} + Loading... +{:else if $query.error} + An error has occurred: {$query.error} +{:else} + + {#each $query.data as row} + {#if row.event == 'FSSDiscoveryScan'} + + div { + flex: 50%; + padding: 5px; + } + diff --git a/Pulsar/WebApp/src/routes/botany/+page.svelte b/Pulsar/WebApp/src/routes/botany/+page.svelte deleted file mode 100644 index e69de29..0000000 diff --git a/Pulsar/WebApp/src/routes/explorer/+page.svelte b/Pulsar/WebApp/src/routes/explorer/+page.svelte deleted file mode 100644 index e69de29..0000000 diff --git a/Pulsar/WebApp/src/routes/options/+page.svelte b/Pulsar/WebApp/src/routes/options/+page.svelte deleted file mode 100644 index e69de29..0000000 diff --git a/Pulsar/WebApp/src/routes/ship/+page.svelte b/Pulsar/WebApp/src/routes/ship/+page.svelte deleted file mode 100644 index e69de29..0000000