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

Shared Type & Interface Declarations #1073

Merged
merged 8 commits into from
Jan 25, 2024

Conversation

the-bay-kay
Copy link
Contributor

@the-bay-kay the-bay-kay commented Oct 20, 2023

The goal of this PR is to create a set of type interfaces & declarations that mimic the classes and objects found in e-mission-server. This should help standardize typing across the angular service rewrites (Issue 977), and should help future function design.

This discussion originally started in PR #1061 - the overall design philosophy is to have higher-level interfaces (e.g., ServerData), which can then be extended to more specific "sub-classes" of server data in separate type files.

the-bay-kay added a commit to the-bay-kay/e-mission-phone that referenced this pull request Oct 26, 2023
- Updated types to match PR e-mission#1073
- Part of the motivaiton for this is that `/dairy/services.js` also
relies on unifiedDataLoader; if this is written using those
types, then that rewrite can build off of this rewrite without
any additional merge conflicts down the road.
the-bay-kay added a commit to the-bay-kay/e-mission-phone that referenced this pull request Oct 27, 2023
JGreenlee and others added 3 commits November 4, 2023 01:00
not needed since we are now keeping diaryTypes as js/types/diaryTypes.ts
- these types are used by timelineHelper
@JGreenlee
Copy link
Collaborator

@the-bay-kay Did you see the PR I submitted to you last week the-bay-kay#1 ?
To ensure multiple people are not repeating the same work, can you either 1) merge/ incorporate those changes into this PR or 2) give me write access to your fork of e-mission-phone so I can do it myself?

@the-bay-kay
Copy link
Contributor Author

To ensure multiple people are not repeating the same work, can you either 1) merge/ incorporate those changes into this PR or 2) give me write access to your fork of e-mission-phone so I can do it myself?

My bad!! I completely missed the notification - just merged the changes now, I'll keep a better eye on the PR's tab!

@shankari shankari merged commit 570d7a7 into e-mission:service_rewrite_2023 Jan 25, 2024
2 checks passed
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.

3 participants