Rearchitect ProgramType logic to be more robust #521
Labels
Engineering
Technology and Development Track
Type: Robustness
Tickets to improve the application, invisibly
Milestone
Description
At the moment the knowledge of ProgramTypes lives in two places:
utils/getClaimDetails.ts
- who needs to know which to display, a simple listgetScenarioContent
- who needs it to determine BYE scenarios: UI, PUA, DUA, the federal extentions, or other.DRY up this code to avoid duplication of the lists of ProgramTypes. We want to avoid narrowly tailoring, as well, in case we later need to analyze Program Types in another way.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: