@openmrs/esm-patient-common-lib 11.3.1-pre.9593 → 11.3.1-pre.9595

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-common-lib",
3
- "version": "11.3.1-pre.9593",
3
+ "version": "11.3.1-pre.9595",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Library for common patient chart components",
6
6
  "browser": "dist/openmrs-esm-patient-common-lib.js",
@@ -118,7 +118,7 @@ export interface DrugOrderPost extends OrderPost {
118
118
  dosingInstructions?: string;
119
119
  }
120
120
 
121
- export interface TestOrderPost extends OrderPost {}
121
+ export type TestOrderPost = OrderPost;
122
122
 
123
123
  export interface PatientOrderFetchResponse {
124
124
  results: Array<Order>;
@@ -60,7 +60,7 @@ function useOrderableConceptSWR(searchTerm: string, orderableConceptSets?: Array
60
60
  };
61
61
  }
62
62
 
63
- export interface OrderableConcept extends OpenmrsResource {}
63
+ export type OrderableConcept = OpenmrsResource;
64
64
 
65
65
  export function useOrderableConceptSets(searchTerm: string, orderableConcepts: Array<string>) {
66
66
  const { data, isLoading, error } = useOrderableConceptSWR(
package/src/workspaces.ts CHANGED
@@ -21,8 +21,10 @@ export interface PatientChartWorkspaceActionButtonProps {
21
21
  groupProps: PatientWorkspaceGroupProps;
22
22
  }
23
23
 
24
- export interface PatientWorkspace2DefinitionProps<WorkspaceProps extends Object, WindowProps extends Object>
25
- extends Workspace2DefinitionProps<WorkspaceProps, WindowProps, PatientWorkspaceGroupProps> {}
24
+ export type PatientWorkspace2DefinitionProps<
25
+ WorkspaceProps extends object,
26
+ WindowProps extends object,
27
+ > = Workspace2DefinitionProps<WorkspaceProps, WindowProps, PatientWorkspaceGroupProps>;
26
28
 
27
29
  export function launchPatientChartWithWorkspaceOpen({
28
30
  patientUuid,