-
Notifications
You must be signed in to change notification settings - Fork 146
refactor: consolidate TS types #1275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…models.ts to ui/types.ts
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
Replace generic data/setData with repo versions
…onsolidate-ts-types
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1275 +/- ##
==========================================
- Coverage 83.36% 83.35% -0.01%
==========================================
Files 70 70
Lines 3005 3004 -1
Branches 499 499
==========================================
- Hits 2505 2504 -1
Misses 397 397
Partials 103 103 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
andypols
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Just a question out of curiosity — and no need to change anything in this PR — what’s the current thinking on when to append Data or FormData to type/interface names? I know the codebase has been a bit inconsistent, and it’s great that you’re tidying that up here. It’s just not entirely clear to me what the convention is.
Just wondering if Form (and maybe even Data) adds much in AttestationFormData.
Fixes #1193.
This PR aims to eliminate redundant types and move existing types into more semantically/logically relevant locations.
It also fixes up some generic variable names in the UI (
data/setData, etc.) to make the codebase easier to search/understand.