Function: resolveMonitorNumericOverride()
resolveMonitorNumericOverride(
options: {allowEqualMinimum?:boolean;fallbackValue:number;minimumValue:number;monitor:object;monitorFieldName:string;serviceConfig:object;serviceConfigFieldName?:string; }):number
Defined in: electron/services/monitoring/shared/monitorConfigValueResolvers.ts:104
Resolves a numeric override with monitor-first precedence and service-level fallback.
Parameters
options
Resolution options.
allowEqualMinimum?
boolean
fallbackValue
number
minimumValue
number
monitor
object
monitorFieldName
string
serviceConfig
object
serviceConfigFieldName?
string
Returns
number
The resolved numeric value.
Remarks
This utility centralizes the repeated pattern used by monitor services where a numeric value can be provided on the monitor instance, then by service configuration, otherwise defaulting to a constant.