-
Notifications
You must be signed in to change notification settings - Fork 210
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
(feat) Update type LoggedInUser to list userProperties in use #744
Conversation
Size Change: -211 kB (-9%) ✅ Total Size: 2.13 MB
ℹ️ View Unchanged
|
@@ -13,7 +13,23 @@ export interface LoggedInUser { | |||
display: string; | |||
username: string; | |||
systemId: string; | |||
userProperties: { [key: string]: any } | null; | |||
userProperties: { |
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.
So, the one thing I'm noticing is that these comments for named properties don't appear in the autogenerated docs, which is a bit unfortunate, but this is overall a big improvement.
userProperties: { | ||
/** | ||
* The UUIDs of patients the user has visited | ||
* Seprataed by commas |
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.
* Seprataed by commas | |
* Separated by commas |
patientsVisited?: string; | ||
/** | ||
* The UUIDs of patient lists the user has starred | ||
* Seprataed by commas |
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.
* Seprataed by commas | |
* Separated by commas |
Requirements
For changes to apps
If applicable
Summary
This PR updates the
LoggedInUser
type to store the already used keys in other apps for better understandinguser.userProperties.patientsVisited
used in the patient search for storing patients visited by the useruser.userProperties.starredPatientLists
to be used in the patient list app to store the UUIDs of the patient lists starred by the user.Screenshots
None
Related Issue
Other