UNPKG

@sailboat-computer/health-monitoring

Version:

Comprehensive health monitoring system for sailboat computer v3 with marine-specific health checks

46 lines 1.53 kB
"use strict"; /** * Core types for the health monitoring system */ Object.defineProperty(exports, "__esModule", { value: true }); exports.HealthCheckType = exports.MarineSystemType = exports.OperationalContext = exports.HealthStatus = void 0; // Define constants for string literal types exports.HealthStatus = { HEALTHY: 'health_healthy', DEGRADED: 'health_degraded', UNHEALTHY: 'health_unhealthy', CRITICAL: 'health_critical', UNKNOWN: 'health_unknown' }; exports.OperationalContext = { SAILING: 'context_sailing', MOTORING: 'context_motoring', ANCHORED: 'context_anchored', DOCKED: 'context_docked', MAINTENANCE: 'context_maintenance', EMERGENCY: 'context_emergency' }; exports.MarineSystemType = { NAVIGATION: 'system_navigation', SAFETY: 'system_safety', POWER: 'system_power', COMMUNICATION: 'system_communication', PROPULSION: 'system_propulsion', COMFORT: 'system_comfort', MAINTENANCE: 'system_maintenance', ENVIRONMENTAL: 'system_environmental' }; /** * Health check types */ var HealthCheckType; (function (HealthCheckType) { HealthCheckType["SENSOR"] = "sensor"; HealthCheckType["SERVICE"] = "service"; HealthCheckType["SYSTEM"] = "system"; HealthCheckType["NETWORK"] = "network"; HealthCheckType["POWER"] = "power"; HealthCheckType["STORAGE"] = "storage"; HealthCheckType["ENVIRONMENTAL"] = "environmental"; })(HealthCheckType || (exports.HealthCheckType = HealthCheckType = {})); //# sourceMappingURL=types.js.map