feat: add nodes list table with last connect

This commit is contained in:
Peter Steinberger committed 2026-01-21 03:03:48 +00:00
1 parent 438a41f91f
commit caf9dec89c
5 files changed
+71 -15

No files matched your search

+2
View File
@@ -39,6 +39,7 @@ export type NodePairingPairedNode = {
remoteIp?: string;
createdAtMs: number;
approvedAtMs: number;
lastConnectedAtMs?: number;
};
export type NodePairingList = {
@@ -295,6 +296,7 @@ export async function updatePairedNodeMetadata(
commands: patch.commands ?? existing.commands,
bins: patch.bins ?? existing.bins,
permissions: patch.permissions ?? existing.permissions,
lastConnectedAtMs: patch.lastConnectedAtMs ?? existing.lastConnectedAtMs,
};
state.pairedByNodeId[normalized] = next;