( workflowOptions: SelectOption<string>[], selectedIds: Iterable<string>, )
| 271 | } |
| 272 | |
| 273 | function mergeWorkflowSelections( |
| 274 | workflowOptions: SelectOption<string>[], |
| 275 | selectedIds: Iterable<string>, |
| 276 | ): string[] { |
| 277 | const selected = new Set(selectedIds); |
| 278 | return workflowOptions |
| 279 | .filter((option) => selected.has(option.value)) |
| 280 | .map((option) => option.value); |
| 281 | } |
| 282 | |
| 283 | function getChangedFields( |
| 284 | beforeConfig: ProjectConfig | undefined, |