A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
export type IndexerDisplayStatus = "healthy" | "unhealthy" | "disabled" | "unknown";
export const getIndexerDisplayStatus = ({
enabled,
status,
}: {
enabled: boolean;
status: boolean | null;
}): IndexerDisplayStatus => {
if (!enabled) return "disabled";
if (status === null) return "unknown";
return status ? "healthy" : "unhealthy";
};