@pih/esm-commons-app 2.1.1-pre.9
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 +34 -0
- package/README.md +1 -0
- package/__mocks__/react-i18next.js +51 -0
- package/dist/138.js +1 -0
- package/dist/138.js.map +1 -0
- package/dist/291.js +1 -0
- package/dist/291.js.map +1 -0
- package/dist/300.js +1 -0
- package/dist/39.js +1 -0
- package/dist/39.js.map +1 -0
- package/dist/41.js +2 -0
- package/dist/41.js.LICENSE.txt +9 -0
- package/dist/41.js.map +1 -0
- package/dist/55.js +1 -0
- package/dist/641.js +1 -0
- package/dist/641.js.map +1 -0
- package/dist/831.js +2 -0
- package/dist/831.js.LICENSE.txt +5 -0
- package/dist/831.js.map +1 -0
- package/dist/90.js +1 -0
- package/dist/90.js.map +1 -0
- package/dist/99.js +1 -0
- package/dist/main.js +1 -0
- package/dist/main.js.map +1 -0
- package/dist/pih-esm-commons-app.js +1 -0
- package/dist/pih-esm-commons-app.js.buildmanifest.json +344 -0
- package/dist/pih-esm-commons-app.js.map +1 -0
- package/dist/routes.json +1 -0
- package/jest.config.js +3 -0
- package/package.json +58 -0
- package/src/index.ts +30 -0
- package/src/routes.json +23 -0
- package/src/ward-app/o2-visit-summary-action-button.extension.tsx +18 -0
- package/src/ward-app/o2-visit-summary-workspace.component.tsx +31 -0
- package/src/ward-app/o2-visit-summary-workspace.scss +9 -0
- package/src/ward-app/types.ts +11 -0
- package/translations/en.json +4 -0
- package/translations/es.json +4 -0
- package/translations/fr.json +4 -0
- package/tsconfig.json +5 -0
- package/webpack.config.js +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DefaultWorkspaceProps, Patient, Visit } from '@openmrs/esm-framework';
|
|
2
|
+
|
|
3
|
+
// a stripped down version of the same type defined in esm-ward-app
|
|
4
|
+
export type WardPatient = {
|
|
5
|
+
patient: Patient;
|
|
6
|
+
visit: Visit;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export interface WardPatientWorkspaceProps extends DefaultWorkspaceProps {
|
|
10
|
+
wardPatient: WardPatient;
|
|
11
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('openmrs/default-webpack-config');
|