Files
BayIQ-UI/src/types/types.ts

24 lines
552 B
TypeScript
Raw Normal View History

2025-11-20 19:09:43 +00:00
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;
};
export type StatusIndicator = "neutral-quaternary" | "dark" | "info" | "success" | "warning" | "danger";
export type Region = {
name: string;
brushColour: string;
};
2025-11-24 16:17:27 +00:00
export type SystemHealthStatus = {
id: string;
tags: string[];
};