@openmrs/esm-framework 5.3.3-pre.1444 → 5.3.3-pre.1450
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 +2 -2
- package/docs/API.md +13 -6
- package/package.json +15 -15
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[35m@openmrs/esm-framework:build[0m: cache hit, replaying output [
|
|
1
|
+
[35m@openmrs/esm-framework:build[0m: cache hit, replaying output [2m4fc5738bed2f22f0[0m
|
|
2
2
|
[35m@openmrs/esm-framework:build: [0massets by chunk 196 KiB (id hint: vendors)
|
|
3
3
|
[35m@openmrs/esm-framework:build: [0m asset [1m[32m788.openmrs-esm-framework.js[39m[22m 130 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 2 related assets
|
|
4
4
|
[35m@openmrs/esm-framework:build: [0m asset [1m[32m645.openmrs-esm-framework.js[39m[22m 37.2 KiB [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m (id hint: vendors) 1 related asset
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
[35m@openmrs/esm-framework:build: [0m openmrs-esm-framework.js
|
|
27
27
|
[35m@openmrs/esm-framework:build: [0m[39m[22m
|
|
28
28
|
[35m@openmrs/esm-framework:build: [0m
|
|
29
|
-
[35m@openmrs/esm-framework:build: [0mwebpack 5.88.0 compiled with [1m[33m3 warnings[39m[22m in
|
|
29
|
+
[35m@openmrs/esm-framework:build: [0mwebpack 5.88.0 compiled with [1m[33m3 warnings[39m[22m in 21923 ms
|
package/docs/API.md
CHANGED
|
@@ -1861,7 +1861,7 @@ for more information about defining a config schema.
|
|
|
1861
1861
|
|
|
1862
1862
|
#### Defined in
|
|
1863
1863
|
|
|
1864
|
-
[packages/framework/esm-config/src/module-config/module-config.ts:
|
|
1864
|
+
[packages/framework/esm-config/src/module-config/module-config.ts:164](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L164)
|
|
1865
1865
|
|
|
1866
1866
|
___
|
|
1867
1867
|
|
|
@@ -1893,7 +1893,7 @@ for more information about defining a config schema.
|
|
|
1893
1893
|
|
|
1894
1894
|
#### Defined in
|
|
1895
1895
|
|
|
1896
|
-
[packages/framework/esm-config/src/module-config/module-config.ts:
|
|
1896
|
+
[packages/framework/esm-config/src/module-config/module-config.ts:209](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L209)
|
|
1897
1897
|
|
|
1898
1898
|
___
|
|
1899
1899
|
|
|
@@ -1925,7 +1925,7 @@ of the execution of a function.
|
|
|
1925
1925
|
|
|
1926
1926
|
#### Defined in
|
|
1927
1927
|
|
|
1928
|
-
[packages/framework/esm-config/src/module-config/module-config.ts:
|
|
1928
|
+
[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)
|
|
1929
1929
|
|
|
1930
1930
|
___
|
|
1931
1931
|
|
|
@@ -1946,7 +1946,7 @@ ___
|
|
|
1946
1946
|
|
|
1947
1947
|
#### Defined in
|
|
1948
1948
|
|
|
1949
|
-
[packages/framework/esm-config/src/module-config/module-config.ts:
|
|
1949
|
+
[packages/framework/esm-config/src/module-config/module-config.ts:225](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L225)
|
|
1950
1950
|
|
|
1951
1951
|
___
|
|
1952
1952
|
|
|
@@ -5138,7 +5138,7 @@ ___
|
|
|
5138
5138
|
|
|
5139
5139
|
### useOpenmrsSWR
|
|
5140
5140
|
|
|
5141
|
-
▸ **useOpenmrsSWR
|
|
5141
|
+
▸ **useOpenmrsSWR**<`DataType`, `ErrorType`\>(`key`, `options?`): `SWRResponse`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>, `ErrorType`, `undefined` \| `Partial`<`PublicConfiguration`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>, `ErrorType`, `BareFetcher`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>\>\>\>\>
|
|
5142
5142
|
|
|
5143
5143
|
**`beta`**
|
|
5144
5144
|
|
|
@@ -5175,6 +5175,13 @@ function MyComponent() {
|
|
|
5175
5175
|
}
|
|
5176
5176
|
```
|
|
5177
5177
|
|
|
5178
|
+
#### Type parameters
|
|
5179
|
+
|
|
5180
|
+
| Name | Type |
|
|
5181
|
+
| :------ | :------ |
|
|
5182
|
+
| `DataType` | `any` |
|
|
5183
|
+
| `ErrorType` | `any` |
|
|
5184
|
+
|
|
5178
5185
|
#### Parameters
|
|
5179
5186
|
|
|
5180
5187
|
| Name | Type | Description |
|
|
@@ -5184,7 +5191,7 @@ function MyComponent() {
|
|
|
5184
5191
|
|
|
5185
5192
|
#### Returns
|
|
5186
5193
|
|
|
5187
|
-
`SWRResponse`<[`FetchResponse`](interfaces/FetchResponse.md)<`
|
|
5194
|
+
`SWRResponse`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>, `ErrorType`, `undefined` \| `Partial`<`PublicConfiguration`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>, `ErrorType`, `BareFetcher`<[`FetchResponse`](interfaces/FetchResponse.md)<`DataType`\>\>\>\>\>
|
|
5188
5195
|
|
|
5189
5196
|
#### Defined in
|
|
5190
5197
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-framework",
|
|
3
|
-
"version": "5.3.3-pre.
|
|
3
|
+
"version": "5.3.3-pre.1450",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"browser": "dist/openmrs-esm-framework.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@openmrs/esm-api": "5.3.3-pre.
|
|
41
|
-
"@openmrs/esm-config": "5.3.3-pre.
|
|
42
|
-
"@openmrs/esm-dynamic-loading": "5.3.3-pre.
|
|
43
|
-
"@openmrs/esm-error-handling": "5.3.3-pre.
|
|
44
|
-
"@openmrs/esm-extensions": "5.3.3-pre.
|
|
45
|
-
"@openmrs/esm-feature-flags": "5.3.3-pre.
|
|
46
|
-
"@openmrs/esm-globals": "5.3.3-pre.
|
|
47
|
-
"@openmrs/esm-navigation": "5.3.3-pre.
|
|
48
|
-
"@openmrs/esm-offline": "5.3.3-pre.
|
|
49
|
-
"@openmrs/esm-react-utils": "5.3.3-pre.
|
|
50
|
-
"@openmrs/esm-routes": "5.3.3-pre.
|
|
51
|
-
"@openmrs/esm-state": "5.3.3-pre.
|
|
52
|
-
"@openmrs/esm-styleguide": "5.3.3-pre.
|
|
53
|
-
"@openmrs/esm-utils": "5.3.3-pre.
|
|
40
|
+
"@openmrs/esm-api": "5.3.3-pre.1450",
|
|
41
|
+
"@openmrs/esm-config": "5.3.3-pre.1450",
|
|
42
|
+
"@openmrs/esm-dynamic-loading": "5.3.3-pre.1450",
|
|
43
|
+
"@openmrs/esm-error-handling": "5.3.3-pre.1450",
|
|
44
|
+
"@openmrs/esm-extensions": "5.3.3-pre.1450",
|
|
45
|
+
"@openmrs/esm-feature-flags": "5.3.3-pre.1450",
|
|
46
|
+
"@openmrs/esm-globals": "5.3.3-pre.1450",
|
|
47
|
+
"@openmrs/esm-navigation": "5.3.3-pre.1450",
|
|
48
|
+
"@openmrs/esm-offline": "5.3.3-pre.1450",
|
|
49
|
+
"@openmrs/esm-react-utils": "5.3.3-pre.1450",
|
|
50
|
+
"@openmrs/esm-routes": "5.3.3-pre.1450",
|
|
51
|
+
"@openmrs/esm-state": "5.3.3-pre.1450",
|
|
52
|
+
"@openmrs/esm-styleguide": "5.3.3-pre.1450",
|
|
53
|
+
"@openmrs/esm-utils": "5.3.3-pre.1450",
|
|
54
54
|
"dayjs": "^1.10.7"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|