()
| 133 | * @returns {Promise<string[]>} - A list of config alias strings. |
| 134 | */ |
| 135 | export const fetchAvailableConfigAliases = async () => { |
| 136 | // TODO: Verify/Implement the corresponding backend endpoint GET /configs/aliases |
| 137 | const url = getApiUrl('/configs/aliases'); // Assuming this endpoint exists |
| 138 | const response = await fetch(url); |
| 139 | // Use handleApiResponse which includes error handling |
| 140 | return handleApiResponse(response); |
| 141 | }; |
| 142 | |
| 143 | // --- Pipeline API --- |
| 144 |
no test coverage detected