()
| 36 | }; |
| 37 | |
| 38 | export const getEnvironmentIdOptions = (): LabeledOption[] => { |
| 39 | const environmentList = appStoreUtilBridge()?.environmentList() ?? []; |
| 40 | return environmentList.map((env) => ({ |
| 41 | label: `${env.title} (${env.id})`, |
| 42 | value: env.id, |
| 43 | })); |
| 44 | }; |
| 45 | |
| 46 | const getProjectIdOption = (proj: Project): LabeledOption => { |
| 47 | const projectId = extractProjectResourceName(proj.name); |
no test coverage detected