Concentrator edit fix

This commit is contained in:
2026-02-03 02:33:21 -06:00
parent e6df3acad5
commit dda69a59ba
2 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ import { CreateConcentratorInput, UpdateConcentratorInput } from '../validators/
*/
export type ConcentratorType = 'LORA' | 'LORAWAN' | 'GRANDES';
export type ConcentratorStatus = 'ACTIVE' | 'INACTIVE' | 'MAINTENANCE' | 'OFFLINE';
/**
* Concentrator entity interface
*/
@@ -16,7 +18,7 @@ export interface Concentrator {
project_id: string;
location: string | null;
type: ConcentratorType;
status: 'online' | 'offline' | 'maintenance' | 'unknown';
status: ConcentratorStatus;
ip_address: string | null;
firmware_version: string | null;
created_at: Date;