(key: string)
| 13 | const BOOLEAN_FALSE_VALUES = new Set(['0', 'false', 'no', 'off']); |
| 14 | |
| 15 | export function buildPrimaryEnvVarName(key: string): string { |
| 16 | return `AGENT_DEVICE_${key |
| 17 | .replace(/([A-Z])/g, '_$1') |
| 18 | .replace(/[^A-Za-z0-9_]/g, '_') |
| 19 | .toUpperCase()}`; |
| 20 | } |
| 21 | |
| 22 | export function parseSourceValue( |
| 23 | definition: SourceValueDefinition, |
no outgoing calls
no test coverage detected