@openmrs/esm-framework 10.0.1-pre.5738 → 10.0.1-pre.5745

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,3 +1,3 @@
1
- [0] Successfully compiled: 4 files with swc (100.71ms)
1
+ [0] Successfully compiled: 4 files with swc (125.93ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
@@ -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:363](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L363)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:369](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L369)
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:439](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L439)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:445](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L445)
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:512](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L512)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:518](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L518)
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:465](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L465)
7
+ Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:471](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L471)
8
8
 
9
9
  Provides configuration values programmatically. This is an alternative to
10
10
  providing configuration through the config-file. Configuration provided this
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **useConfig**\<`T`\>(`options?`): `T`
6
6
 
7
- Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:145](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L145)
7
+ Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:161](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L161)
8
8
 
9
9
  Use this React Hook to obtain your module's configuration.
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: UseConfigOptions
4
4
 
5
- Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:134](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L134)
5
+ Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:150](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L150)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:134](https://gi
10
10
 
11
11
  > `optional` **externalModuleName**: `string`
12
12
 
13
- Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:137](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L137)
13
+ Defined in: [packages/framework/esm-react-utils/src/useConfig.ts:153](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useConfig.ts#L153)
14
14
 
15
15
  An external module to load the configuration from. This option should only be used if
16
16
  absolutely necessary as it can end up making frontend modules coupled to one another.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-framework",
3
- "version": "10.0.1-pre.5738",
3
+ "version": "10.0.1-pre.5745",
4
4
  "license": "MPL-2.0",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
@@ -60,23 +60,23 @@
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@openmrs/esm-api": "10.0.1-pre.5738",
64
- "@openmrs/esm-config": "10.0.1-pre.5738",
65
- "@openmrs/esm-context": "10.0.1-pre.5738",
66
- "@openmrs/esm-dynamic-loading": "10.0.1-pre.5738",
67
- "@openmrs/esm-emr-api": "10.0.1-pre.5738",
68
- "@openmrs/esm-error-handling": "10.0.1-pre.5738",
69
- "@openmrs/esm-expression-evaluator": "10.0.1-pre.5738",
70
- "@openmrs/esm-extensions": "10.0.1-pre.5738",
71
- "@openmrs/esm-feature-flags": "10.0.1-pre.5738",
72
- "@openmrs/esm-globals": "10.0.1-pre.5738",
73
- "@openmrs/esm-navigation": "10.0.1-pre.5738",
74
- "@openmrs/esm-react-utils": "10.0.1-pre.5738",
75
- "@openmrs/esm-routes": "10.0.1-pre.5738",
76
- "@openmrs/esm-state": "10.0.1-pre.5738",
77
- "@openmrs/esm-styleguide": "10.0.1-pre.5738",
78
- "@openmrs/esm-translations": "10.0.1-pre.5738",
79
- "@openmrs/esm-utils": "10.0.1-pre.5738"
63
+ "@openmrs/esm-api": "10.0.1-pre.5745",
64
+ "@openmrs/esm-config": "10.0.1-pre.5745",
65
+ "@openmrs/esm-context": "10.0.1-pre.5745",
66
+ "@openmrs/esm-dynamic-loading": "10.0.1-pre.5745",
67
+ "@openmrs/esm-emr-api": "10.0.1-pre.5745",
68
+ "@openmrs/esm-error-handling": "10.0.1-pre.5745",
69
+ "@openmrs/esm-expression-evaluator": "10.0.1-pre.5745",
70
+ "@openmrs/esm-extensions": "10.0.1-pre.5745",
71
+ "@openmrs/esm-feature-flags": "10.0.1-pre.5745",
72
+ "@openmrs/esm-globals": "10.0.1-pre.5745",
73
+ "@openmrs/esm-navigation": "10.0.1-pre.5745",
74
+ "@openmrs/esm-react-utils": "10.0.1-pre.5745",
75
+ "@openmrs/esm-routes": "10.0.1-pre.5745",
76
+ "@openmrs/esm-state": "10.0.1-pre.5745",
77
+ "@openmrs/esm-styleguide": "10.0.1-pre.5745",
78
+ "@openmrs/esm-translations": "10.0.1-pre.5745",
79
+ "@openmrs/esm-utils": "10.0.1-pre.5745"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "dayjs": "1.x",
@@ -88,7 +88,7 @@
88
88
  "swr": "2.x"
89
89
  },
90
90
  "devDependencies": {
91
- "@openmrs/typedoc-plugin-file-categories": "10.0.1-pre.5738",
91
+ "@openmrs/typedoc-plugin-file-categories": "10.0.1-pre.5745",
92
92
  "@swc/cli": "0.8.1",
93
93
  "@swc/core": "1.15.21",
94
94
  "@vitest/coverage-v8": "^4.1.2",