first commit
This commit is contained in:
12
src/types/types.ts
Normal file
12
src/types/types.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export type WebSocketContextValue = {
|
||||
connected: boolean;
|
||||
send?: (msg: unknown) => void;
|
||||
latestStats: { activeUsers: number; alerts: number } | null;
|
||||
};
|
||||
|
||||
export type InfoBarData = {
|
||||
"system-clock-utc": string;
|
||||
"system-clock-local": string;
|
||||
"memory-cpu-status": string;
|
||||
"thread-count": string;
|
||||
};
|
||||
Reference in New Issue
Block a user