feat: 增强连接状态。

This commit is contained in:
2023-04-30 22:30:24 +08:00
parent 6c90a5e655
commit 82d4adfe0f
4 changed files with 71 additions and 28 deletions

View File

@ -3,6 +3,6 @@ export type BoardInfo = {
address: string;
port: number;
ttl: number;
is_online: boolean;
connect_status: 'Connected' | 'Disconnected' | { Connecting: number };
checked_at: Date;
};