Skip to content
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

[FE]: types cleanup #1406

Merged
merged 2 commits into from
Aug 1, 2023
Merged

[FE]: types cleanup #1406

merged 2 commits into from
Aug 1, 2023

Conversation

andresgnlez
Copy link
Member

@andresgnlez andresgnlez commented Aug 1, 2023

Types cleanup

Overview

This PR brings the following changes:

  • moves API-exclusive types to types/api folder to difference from app types.
  • renames country-model types to location and refactor some of its forms.
  • improves typing of some hooks that used locations.
  • Avoids using enum.
  • removes api-model typing as it did not make any sense.

Designs

Testing instructions

Please explain how to test the PR: ID of a dataset, steps to reach the feature, etc.

Feature relevant tickets


Checklist before submitting

  • Meaningful commits and code rebased on develop.
  • If this PR adds feature that should be tested for regressions when
    deploying to staging/production, please add brief testing instructions
    to the deploy checklist (docs/deployment-checklist.md)
  • Update CHANGELOG file

@andresgnlez andresgnlez added the Frontend Everything related frontend label Aug 1, 2023
@andresgnlez andresgnlez requested a review from anamontiaga August 1, 2023 07:19
@andresgnlez andresgnlez self-assigned this Aug 1, 2023
@vercel
Copy link

vercel bot commented Aug 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
marxan ✅ Ready (Inspect) Visit Preview Aug 1, 2023 7:19am

@andresgnlez andresgnlez merged commit 08e2dd7 into develop Aug 1, 2023
@andresgnlez andresgnlez deleted the chore/types-cleanup branch August 1, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Everything related frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants