syncthing/next-gen-gui/src/app/connections.ts

16 lines
338 B
TypeScript

export interface SystemConnections {
connections: { deviceId?: Connection };
total: Connection;
}
export interface Connection {
address: string;
at: string;
clientVersion: string;
connected: boolean;
crypto: string;
inBytesTotal: number;
outBytesTotal: number;
paused: boolean;
type: string;
}