@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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-api:build: cache hit, replaying output c5cccc3be583c624
1
+ @openmrs/esm-api:build: cache hit, replaying output e20e814af11617e0
2
2
  @openmrs/esm-api:build: asset openmrs-esm-api.js 32 KiB [emitted] [minimized] (name: main) 2 related assets
3
3
  @openmrs/esm-api:build: orphan modules 386 KiB [orphan] 226 modules
4
4
  @openmrs/esm-api:build: runtime modules 670 bytes 3 modules
@@ -10,4 +10,4 @@
10
10
  @openmrs/esm-api:build:  cacheable modules 102 KiB
11
11
  @openmrs/esm-api:build:  ./src/index.ts + 44 modules 97.4 KiB [built] [code generated]
12
12
  @openmrs/esm-api:build:  ../esm-state/dist/openmrs-esm-state.js 4.45 KiB [built] [code generated]
13
- @openmrs/esm-api:build: webpack 5.88.0 compiled successfully in 7109 ms
13
+ @openmrs/esm-api:build: webpack 5.88.0 compiled successfully 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.939",
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.939",
50
- "@openmrs/esm-error-handling": "^5.1.1-pre.939",
51
- "@openmrs/esm-state": "^5.1.1-pre.939",
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": "9546be951382af686789efe18dd2040d8431262f"
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: { [key: string]: any } | null;
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>;