Auth Web: should use CorpTypeCd enum instead of local duplicate
Open
ENTITY - DO NOT USE
Pay
techdebt
- Dominant language
- JavaScript
- Stars
- 23
- Forks
- 62
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
In auth-web/src/util/constants.ts is an enum that is basically a duplicate of https://github.com/bcgov/bcrs-shared-components/blob/main/src/modules/corp-type-module/corp-type-module.ts.
This ticket is to replace the local enum with the shared one.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with auth-web/src/util/constants.ts and compare its local enum with CorpTypeCd in the linked bcrs-shared-components corp-type-module.ts. Replace the duplicate with the shared enum, then verify that the auth-web references still resolve and use the shared values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, frontend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100