-
Notifications
You must be signed in to change notification settings - Fork 114
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
Shared Type & Interface Declarations #1073
Conversation
- 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.
not needed since we are now keeping diaryTypes as js/types/diaryTypes.ts
- these types are used by timelineHelper
@the-bay-kay Did you see the PR I submitted to you last week the-bay-kay#1 ? |
My bad!! I completely missed the notification - just merged the changes now, I'll keep a better eye on the PR's tab! |
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.