@openmrs/esm-api 5.1.1-pre.939 → 5.1.1-pre.941
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +2 -2
- package/package.json +5 -5
- package/src/types/user-resource.ts +17 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[36m@openmrs/esm-api:build[0m: cache hit, replaying output [
|
|
1
|
+
[36m@openmrs/esm-api:build[0m: cache hit, replaying output [2me20e814af11617e0[0m
|
|
2
2
|
[36m@openmrs/esm-api:build: [0masset [1m[32mopenmrs-esm-api.js[39m[22m 32 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (name: main) 2 related assets
|
|
3
3
|
[36m@openmrs/esm-api:build: [0morphan modules 386 KiB [1m[33m[orphan][39m[22m 226 modules
|
|
4
4
|
[36m@openmrs/esm-api:build: [0mruntime modules 670 bytes 3 modules
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
[36m@openmrs/esm-api:build: [0m cacheable modules 102 KiB
|
|
11
11
|
[36m@openmrs/esm-api:build: [0m [1m./src/index.ts + 44 modules[39m[22m 97.4 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
12
12
|
[36m@openmrs/esm-api:build: [0m [1m../esm-state/dist/openmrs-esm-state.js[39m[22m 4.45 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
13
|
-
[36m@openmrs/esm-api:build: [0mwebpack 5.88.0 compiled [1m[32msuccessfully[39m[22m in
|
|
13
|
+
[36m@openmrs/esm-api:build: [0mwebpack 5.88.0 compiled [1m[32msuccessfully[39m[22m in 5928 ms
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-api",
|
|
3
|
-
"version": "5.1.1-pre.
|
|
3
|
+
"version": "5.1.1-pre.941",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "The javascript module for interacting with the OpenMRS API",
|
|
6
6
|
"browser": "dist/openmrs-esm-api.js",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@openmrs/esm-offline": "5.x"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@openmrs/esm-config": "^5.1.1-pre.
|
|
50
|
-
"@openmrs/esm-error-handling": "^5.1.1-pre.
|
|
51
|
-
"@openmrs/esm-state": "^5.1.1-pre.
|
|
49
|
+
"@openmrs/esm-config": "^5.1.1-pre.941",
|
|
50
|
+
"@openmrs/esm-error-handling": "^5.1.1-pre.941",
|
|
51
|
+
"@openmrs/esm-state": "^5.1.1-pre.941",
|
|
52
52
|
"rxjs": "^6.5.3",
|
|
53
53
|
"webpack": "^5.88.0"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c8273410ecd8c8f8624d8a80e48153b3ca098e4c"
|
|
56
56
|
}
|
|
@@ -13,7 +13,23 @@ export interface LoggedInUser {
|
|
|
13
13
|
display: string;
|
|
14
14
|
username: string;
|
|
15
15
|
systemId: string;
|
|
16
|
-
userProperties: {
|
|
16
|
+
userProperties: {
|
|
17
|
+
/**
|
|
18
|
+
* The UUIDs of patients the user has visited
|
|
19
|
+
* Separated by commas
|
|
20
|
+
* To get the array, do `user.userProperties.patientsVisited.split(',')`
|
|
21
|
+
* To store the array, do `patientsVisited: patientsVisited.join(',')`
|
|
22
|
+
*/
|
|
23
|
+
patientsVisited?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The UUIDs of patient lists the user has starred
|
|
26
|
+
* Separated by commas
|
|
27
|
+
* To get the array, do `user.userProperties.starredPatientLists.split(',')`
|
|
28
|
+
* To store the array, perform `starredPatientLists: starredPatientLists.join(',')`
|
|
29
|
+
*/
|
|
30
|
+
starredPatientLists?: string;
|
|
31
|
+
[key: string]: string | undefined;
|
|
32
|
+
} | null;
|
|
17
33
|
person: Person;
|
|
18
34
|
privileges: Array<Privilege>;
|
|
19
35
|
roles: Array<Role>;
|