frontend types

This commit is contained in:
Josh Hawkins 2026-03-29 07:18:32 -05:00
parent 76ecee92eb
commit 20b3cdf5e7

View File

@ -28,6 +28,9 @@ export type CameraStats = {
expected_fps: number; expected_fps: number;
reconnects_last_hour: number; reconnects_last_hour: number;
stalls_last_hour: number; stalls_last_hour: number;
ffmpeg_cpu?: string;
capture_cpu?: string;
detect_cpu?: string;
}; };
export type CpuStats = { export type CpuStats = {
@ -42,6 +45,8 @@ export type DetectorStats = {
inference_speed: number; inference_speed: number;
pid: number; pid: number;
temperature?: number; temperature?: number;
cpu?: string;
mem?: string;
}; };
export type EmbeddingsStats = { export type EmbeddingsStats = {
@ -53,6 +58,8 @@ export type EmbeddingsStats = {
export type ExtraProcessStats = { export type ExtraProcessStats = {
pid: number; pid: number;
cpu?: string;
mem?: string;
}; };
export type GpuStats = { export type GpuStats = {