connections page: update API, combine opnsense data with db data

This commit is contained in:
2025-01-07 18:51:24 -08:00
parent 76559d2931
commit 29fbccc953
7 changed files with 75 additions and 37 deletions

10
src/lib/connections.ts Normal file
View File

@@ -0,0 +1,10 @@
export type ConnectionDetails = {
deviceId: number;
deviceName: string;
devicePublicKey: string;
deviceIps: string[];
endpoint: string;
transferRx: number;
transferTx: number;
latestHandshake: number;
};