@openmrs/esm-framework 6.3.1-pre.3139 → 6.3.1-pre.3149

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.
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **defineConfigSchema**(`moduleName`, `schema`): `void`
6
6
 
7
- Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:168](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L168)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:165](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L165)
8
8
 
9
9
  This defines a configuration schema for a module. The schema tells the
10
10
  configuration system how the module can be configured. It specifies
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **defineExtensionConfigSchema**(`extensionName`, `schema`): `void`
6
6
 
7
- Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:244](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L244)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:241](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L241)
8
8
 
9
9
  This defines a configuration schema for an extension. When a schema is defined
10
10
  for an extension, that extension will receive the configuration corresponding
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **getConfig**\<`T`\>(`moduleName`): `Promise`\<`T`\>
6
6
 
7
- Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:277](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L277)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:274](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L274)
8
8
 
9
9
  A promise-based way to access the config as soon as it is fully loaded.
10
10
  If it is already loaded, resolves the config in its present state.
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **provide**(`config`, `sourceName`): `void`
6
6
 
7
- Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:261](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L261)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:258](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L258)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Function: useVisitContextStore()
4
4
 
5
- > **useVisitContextStore**(`mutateVisitCallback?`): `VisitStoreState` & `BindFunctionsIn`\<\{ `mutateVisit`: \{ \}; `setVisitContext`: \{ `manuallySetVisitUuid`: `null` \| `string`; `patientUuid`: `null` \| `string`; \}; \}\>
5
+ > **useVisitContextStore**(`mutateVisitCallback?`): `VisitStoreState` & `BindFunctionsIn`\<\{ `mutateVisit`: \{ \}; `setVisitContext`: \{ `manuallySetVisitUuid`: `null`; `patientUuid?`: `undefined`; \} \| \{ `manuallySetVisitUuid`: `string`; `patientUuid`: `undefined` \| `string`; \}; \}\>
6
6
 
7
- Defined in: [packages/framework/esm-react-utils/src/useVisitContextStore.ts:28](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useVisitContextStore.ts#L28)
7
+ Defined in: [packages/framework/esm-react-utils/src/useVisitContextStore.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useVisitContextStore.ts#L30)
8
8
 
9
9
  A hook to return the visit context store and corresponding actions.
10
10
 
@@ -20,4 +20,4 @@ callbacks also registered into the store)
20
20
 
21
21
  ## Returns
22
22
 
23
- `VisitStoreState` & `BindFunctionsIn`\<\{ `mutateVisit`: \{ \}; `setVisitContext`: \{ `manuallySetVisitUuid`: `null` \| `string`; `patientUuid`: `null` \| `string`; \}; \}\>
23
+ `VisitStoreState` & `BindFunctionsIn`\<\{ `mutateVisit`: \{ \}; `setVisitContext`: \{ `manuallySetVisitUuid`: `null`; `patientUuid?`: `undefined`; \} \| \{ `manuallySetVisitUuid`: `string`; `patientUuid`: `undefined` \| `string`; \}; \}\>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "6.3.1-pre.3139",
3
+ "version": "6.3.1-pre.3149",
4
4
  "license": "MPL-2.0",
5
5
  "type": "module",
6
6
  "module": "dist/openmrs-esm-framework.js",
@@ -59,24 +59,24 @@
59
59
  "access": "public"
60
60
  },
61
61
  "dependencies": {
62
- "@openmrs/esm-api": "6.3.1-pre.3139",
63
- "@openmrs/esm-config": "6.3.1-pre.3139",
64
- "@openmrs/esm-context": "6.3.1-pre.3139",
65
- "@openmrs/esm-dynamic-loading": "6.3.1-pre.3139",
66
- "@openmrs/esm-emr-api": "6.3.1-pre.3139",
67
- "@openmrs/esm-error-handling": "6.3.1-pre.3139",
68
- "@openmrs/esm-expression-evaluator": "6.3.1-pre.3139",
69
- "@openmrs/esm-extensions": "6.3.1-pre.3139",
70
- "@openmrs/esm-feature-flags": "6.3.1-pre.3139",
71
- "@openmrs/esm-globals": "6.3.1-pre.3139",
72
- "@openmrs/esm-navigation": "6.3.1-pre.3139",
73
- "@openmrs/esm-offline": "6.3.1-pre.3139",
74
- "@openmrs/esm-react-utils": "6.3.1-pre.3139",
75
- "@openmrs/esm-routes": "6.3.1-pre.3139",
76
- "@openmrs/esm-state": "6.3.1-pre.3139",
77
- "@openmrs/esm-styleguide": "6.3.1-pre.3139",
78
- "@openmrs/esm-translations": "6.3.1-pre.3139",
79
- "@openmrs/esm-utils": "6.3.1-pre.3139"
62
+ "@openmrs/esm-api": "6.3.1-pre.3149",
63
+ "@openmrs/esm-config": "6.3.1-pre.3149",
64
+ "@openmrs/esm-context": "6.3.1-pre.3149",
65
+ "@openmrs/esm-dynamic-loading": "6.3.1-pre.3149",
66
+ "@openmrs/esm-emr-api": "6.3.1-pre.3149",
67
+ "@openmrs/esm-error-handling": "6.3.1-pre.3149",
68
+ "@openmrs/esm-expression-evaluator": "6.3.1-pre.3149",
69
+ "@openmrs/esm-extensions": "6.3.1-pre.3149",
70
+ "@openmrs/esm-feature-flags": "6.3.1-pre.3149",
71
+ "@openmrs/esm-globals": "6.3.1-pre.3149",
72
+ "@openmrs/esm-navigation": "6.3.1-pre.3149",
73
+ "@openmrs/esm-offline": "6.3.1-pre.3149",
74
+ "@openmrs/esm-react-utils": "6.3.1-pre.3149",
75
+ "@openmrs/esm-routes": "6.3.1-pre.3149",
76
+ "@openmrs/esm-state": "6.3.1-pre.3149",
77
+ "@openmrs/esm-styleguide": "6.3.1-pre.3149",
78
+ "@openmrs/esm-translations": "6.3.1-pre.3149",
79
+ "@openmrs/esm-utils": "6.3.1-pre.3149"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "dayjs": "1.x",
@@ -98,7 +98,7 @@
98
98
  "sass-embedded": "^1.89.0",
99
99
  "svgo-loader": "^4.0.0",
100
100
  "typedoc": "^0.28.5",
101
- "typedoc-plugin-file-categories": "6.3.1-pre.3139",
101
+ "typedoc-plugin-file-categories": "6.3.1-pre.3149",
102
102
  "typedoc-plugin-markdown": "^4.6.3",
103
103
  "typedoc-plugin-no-inherit": "^1.6.1",
104
104
  "typescript": "^5.8.3",