()
| 157 | * @returns Array of enabled SettingSource values |
| 158 | */ |
| 159 | export function getEnabledSettingSources(): SettingSource[] { |
| 160 | const allowed = getAllowedSettingSources() |
| 161 | |
| 162 | // Always include policy and flag settings |
| 163 | const result = new Set<SettingSource>(allowed) |
| 164 | result.add('policySettings') |
| 165 | result.add('flagSettings') |
| 166 | return Array.from(result) |
| 167 | } |
| 168 | |
| 169 | /** |
| 170 | * Check if a specific source is enabled |
no test coverage detected