Skip to content

252 extract duplicated inline types - #288

Merged
mehanana merged 6 commits into
mainfrom
252-extract-duplicated-inline-types
Jul 29, 2026
Merged

252 extract duplicated inline types#288
mehanana merged 6 commits into
mainfrom
252-extract-duplicated-inline-types

Conversation

@mehanana

Copy link
Copy Markdown
Contributor

ℹ️ Issue

Closes #252

📝 Description

Extracted the Project, User, and Expenditure types into their own files in the types directory so they can be shared across all frontend files

Briefly list the changes made to the code:

  1. Created ts files in the types directory for Project, Expenditure, User, and AuthUser
  2. Created index.ts file in the types directory so these types can be imported using '@/types'
  3. Ran tests to make sure everything still compiled

✔️ Verification

No new tests written; just reran the existing frontend Jest tests to make sure everything still worked

Screenshot 2026-07-25 201140

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@mehanana
mehanana requested a review from nourshoreibah as a code owner July 26, 2026 00:19
@github-actions
github-actions Bot requested a review from shreeyaadhikari July 26, 2026 00:19
github-actions Bot added a commit that referenced this pull request Jul 26, 2026

@nourshoreibah nourshoreibah left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look great, thank you

@shreeyaadhikari shreeyaadhikari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

github-actions Bot added a commit that referenced this pull request Jul 29, 2026
@mehanana
mehanana added this pull request to the merge queue Jul 29, 2026
Merged via the queue into main with commit 0d4a563 Jul 29, 2026
18 checks passed
@mehanana
mehanana deleted the 252-extract-duplicated-inline-types branch July 29, 2026 23:11
github-actions Bot added a commit that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] Extract duplicated inline types (Project, Expenditure, User)

3 participants