IKHSAN
ENID Baca dalam Bahasa Indonesia

homeio

Public

Forked from doctor-io/homeio

Branch
main
Latest commit
958d74616 October 2026

types.ts

Open raw
import type { LucideIcon } from "@/components/icons/platform-icons";

export type UptimeParts = {
  days: number;
  hours: number;
  minutes: number;
};

export type ResourceWidgetItem = {
  label: string;
  value: string;
  progress: number;
  colorClassName: string;
  icon: LucideIcon;
};

export type NetworkWidgetData = {
  downloadText: string;
  uploadText: string;
  ipAddress: string;
  hostname: string;
  interfaceName: string;
  ssid: string;
  isDemoMode?: boolean;
};

export type QuickStatItem = {
  label: string;
  value: string;
  sub: string;
};

export type SystemWidgetsViewModel = {
  uptime: UptimeParts;
  resources: ResourceWidgetItem[];
  network: NetworkWidgetData;
  quickStats: QuickStatItem[];
};
bytes
727
lines
39
Type
ts
Latest commit
16 October 2026