@openmrs/esm-framework 3.2.1-pre.986 → 3.3.1-pre.1173
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 +154 -0
- package/dist/openmrs-esm-framework.js +1 -1
- package/dist/openmrs-esm-framework.js.LICENSE.txt +47 -1
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/API.md +1387 -1947
- package/docs/classes/OpenmrsFetchError.md +3 -3
- package/docs/enums/Type.md +11 -0
- package/docs/enums/VisitMode.md +3 -3
- package/docs/enums/VisitStatus.md +2 -2
- package/docs/interfaces/AssignedExtension.md +21 -8
- package/docs/interfaces/BreadcrumbRegistration.md +4 -4
- package/docs/interfaces/BreadcrumbSettings.md +6 -6
- package/docs/interfaces/ClearDynamicRoutesMessage.md +3 -3
- package/docs/interfaces/ConfigSchema.md +3 -3
- package/docs/interfaces/ConfigurableLinkProps.md +3 -3
- package/docs/interfaces/ConnectedExtension.md +18 -5
- package/docs/interfaces/CurrentPatientOptions.md +1 -1
- package/docs/interfaces/ExtensionRegistration.md +9 -15
- package/docs/interfaces/ExtensionSlotConfig.md +4 -4
- package/docs/interfaces/ExtensionSlotConfigObject.md +3 -3
- package/docs/interfaces/ExtensionSlotState.md +5 -5
- package/docs/interfaces/ExtensionStore.md +3 -3
- package/docs/interfaces/FHIRRequestObj.md +3 -3
- package/docs/interfaces/LoggedInUser.md +12 -12
- package/docs/interfaces/LoggedInUserFetchResponse.md +2 -2
- package/docs/interfaces/MessageServiceWorkerResult.md +5 -5
- package/docs/interfaces/NavigateOptions.md +3 -3
- package/docs/interfaces/NotificationDescriptor.md +74 -0
- package/docs/interfaces/OfflineModeResult.md +5 -5
- package/docs/interfaces/OfflinePatientArgs.md +4 -4
- package/docs/interfaces/OfflinePatientDataSyncHandler.md +4 -4
- package/docs/interfaces/OfflinePatientDataSyncState.md +8 -8
- package/docs/interfaces/OfflinePatientDataSyncStore.md +4 -4
- package/docs/interfaces/OmrsServiceWorkerMessage.md +3 -3
- package/docs/interfaces/OnImportMapChangedMessage.md +4 -4
- package/docs/interfaces/OnlyThePatient.md +1 -1
- package/docs/interfaces/PatientWithFullResponse.md +1 -1
- package/docs/interfaces/Person.md +3 -3
- package/docs/interfaces/Privilege.md +4 -4
- package/docs/interfaces/QueueItemDescriptor.md +6 -6
- package/docs/interfaces/RegisterDynamicRouteMessage.md +6 -6
- package/docs/interfaces/RetryOptions.md +3 -3
- package/docs/interfaces/Role.md +3 -3
- package/docs/interfaces/Session.md +92 -0
- package/docs/interfaces/SessionLocation.md +3 -3
- package/docs/interfaces/ShowNotificationEvent.md +5 -5
- package/docs/interfaces/ShowToastEvent.md +4 -4
- package/docs/interfaces/SyncItem.md +9 -9
- package/docs/interfaces/SyncProcessOptions.md +8 -8
- package/docs/interfaces/ToastDescriptor.md +69 -0
- package/docs/interfaces/ToastNotificationMeta.md +100 -0
- package/docs/interfaces/UserHasAccessProps.md +3 -3
- package/docs/interfaces/VisitItem.md +4 -4
- package/jest.config.js +1 -1
- package/mock.tsx +34 -3
- package/package.json +13 -13
- package/src/index.ts +8 -8
- package/src/integration-tests/extension-config.test.tsx +129 -14
- package/src/internal.ts +11 -0
- package/webpack.config.js +10 -2
- package/babel.config.js +0 -7
- package/docs/interfaces/ComponentConfig.md +0 -30
- package/docs/interfaces/ComponentDecoratorOptions.md +0 -52
- package/docs/interfaces/ExtensionInfo.md +0 -140
- package/docs/interfaces/ExtensionInstance.md +0 -19
- package/docs/interfaces/ExtensionInternalStore.md +0 -34
- package/docs/interfaces/ExtensionSlotInfo.md +0 -64
- package/docs/interfaces/NavigationContext.md +0 -50
- package/docs/interfaces/NetworkRequestFailedEvent.md +0 -49
- package/docs/interfaces/OfflineSynchronizationStore.md +0 -30
- package/docs/interfaces/OmrsServiceWorkerEvent.md +0 -31
- package/docs/interfaces/OpenmrsReactComponentProps.md +0 -19
- package/docs/interfaces/OpenmrsReactComponentState.md +0 -41
- package/docs/interfaces/SessionUser.md +0 -92
- package/docs/interfaces/UnauthenticatedUser.md +0 -52
- package/docs/interfaces/User.md +0 -107
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / ExtensionSlotInfo
|
|
2
|
-
|
|
3
|
-
# Interface: ExtensionSlotInfo
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [attachedIds](ExtensionSlotInfo.md#attachedids)
|
|
10
|
-
- [config](ExtensionSlotInfo.md#config)
|
|
11
|
-
- [moduleName](ExtensionSlotInfo.md#modulename)
|
|
12
|
-
- [name](ExtensionSlotInfo.md#name)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### attachedIds
|
|
17
|
-
|
|
18
|
-
• **attachedIds**: `string`[]
|
|
19
|
-
|
|
20
|
-
The set of extension IDs which have been attached to this slot using `attach`.
|
|
21
|
-
However, not all of these extension IDs should be rendered.
|
|
22
|
-
`assignedIds` is the set defining those.
|
|
23
|
-
|
|
24
|
-
#### Defined in
|
|
25
|
-
|
|
26
|
-
[packages/framework/esm-extensions/src/store.ts:56](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/store.ts#L56)
|
|
27
|
-
|
|
28
|
-
___
|
|
29
|
-
|
|
30
|
-
### config
|
|
31
|
-
|
|
32
|
-
• **config**: ``null`` \| [`ExtensionSlotConfigObject`](ExtensionSlotConfigObject.md)
|
|
33
|
-
|
|
34
|
-
The configuration provided for this extension slot. `null` if not yet loaded.
|
|
35
|
-
|
|
36
|
-
#### Defined in
|
|
37
|
-
|
|
38
|
-
[packages/framework/esm-extensions/src/store.ts:58](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/store.ts#L58)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### moduleName
|
|
43
|
-
|
|
44
|
-
• `Optional` **moduleName**: `string`
|
|
45
|
-
|
|
46
|
-
The module in which the extension slot exists. Undefined if the slot
|
|
47
|
-
hasn't been registered yet (but it has been attached or assigned to
|
|
48
|
-
an extension.
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[packages/framework/esm-extensions/src/store.ts:48](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/store.ts#L48)
|
|
53
|
-
|
|
54
|
-
___
|
|
55
|
-
|
|
56
|
-
### name
|
|
57
|
-
|
|
58
|
-
• **name**: `string`
|
|
59
|
-
|
|
60
|
-
The name under which the extension slot has been registered.
|
|
61
|
-
|
|
62
|
-
#### Defined in
|
|
63
|
-
|
|
64
|
-
[packages/framework/esm-extensions/src/store.ts:50](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/store.ts#L50)
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / NavigationContext
|
|
2
|
-
|
|
3
|
-
# Interface: NavigationContext
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [type](NavigationContext.md#type)
|
|
10
|
-
|
|
11
|
-
### Methods
|
|
12
|
-
|
|
13
|
-
- [handler](NavigationContext.md#handler)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### type
|
|
18
|
-
|
|
19
|
-
• **type**: [`NavigationContextType`](../API.md#navigationcontexttype)
|
|
20
|
-
|
|
21
|
-
#### Defined in
|
|
22
|
-
|
|
23
|
-
[packages/framework/esm-extensions/src/contexts.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/contexts.ts#L6)
|
|
24
|
-
|
|
25
|
-
## Methods
|
|
26
|
-
|
|
27
|
-
### handler
|
|
28
|
-
|
|
29
|
-
▸ **handler**<`T`\>(`link`, `state`): `boolean`
|
|
30
|
-
|
|
31
|
-
#### Type parameters
|
|
32
|
-
|
|
33
|
-
| Name | Type |
|
|
34
|
-
| :------ | :------ |
|
|
35
|
-
| `T` | `any` |
|
|
36
|
-
|
|
37
|
-
#### Parameters
|
|
38
|
-
|
|
39
|
-
| Name | Type |
|
|
40
|
-
| :------ | :------ |
|
|
41
|
-
| `link` | `string` |
|
|
42
|
-
| `state` | `T` |
|
|
43
|
-
|
|
44
|
-
#### Returns
|
|
45
|
-
|
|
46
|
-
`boolean`
|
|
47
|
-
|
|
48
|
-
#### Defined in
|
|
49
|
-
|
|
50
|
-
[packages/framework/esm-extensions/src/contexts.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/contexts.ts#L7)
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / NetworkRequestFailedEvent
|
|
2
|
-
|
|
3
|
-
# Interface: NetworkRequestFailedEvent
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`OmrsServiceWorkerEvent`](OmrsServiceWorkerEvent.md)<``"networkRequestFailed"``\>
|
|
8
|
-
|
|
9
|
-
↳ **`NetworkRequestFailedEvent`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### Properties
|
|
14
|
-
|
|
15
|
-
- [request](NetworkRequestFailedEvent.md#request)
|
|
16
|
-
- [type](NetworkRequestFailedEvent.md#type)
|
|
17
|
-
|
|
18
|
-
## Properties
|
|
19
|
-
|
|
20
|
-
### request
|
|
21
|
-
|
|
22
|
-
• **request**: `Object`
|
|
23
|
-
|
|
24
|
-
#### Type declaration
|
|
25
|
-
|
|
26
|
-
| Name | Type |
|
|
27
|
-
| :------ | :------ |
|
|
28
|
-
| `body` | `string` |
|
|
29
|
-
| `headers` | `Record`<`string`, `string`\> |
|
|
30
|
-
| `method` | `string` |
|
|
31
|
-
| `url` | `string` |
|
|
32
|
-
|
|
33
|
-
#### Defined in
|
|
34
|
-
|
|
35
|
-
[packages/framework/esm-offline/src/service-worker-events.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-offline/src/service-worker-events.ts#L7)
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### type
|
|
40
|
-
|
|
41
|
-
• **type**: ``"networkRequestFailed"``
|
|
42
|
-
|
|
43
|
-
#### Inherited from
|
|
44
|
-
|
|
45
|
-
[OmrsServiceWorkerEvent](OmrsServiceWorkerEvent.md).[type](OmrsServiceWorkerEvent.md#type)
|
|
46
|
-
|
|
47
|
-
#### Defined in
|
|
48
|
-
|
|
49
|
-
[packages/framework/esm-offline/src/service-worker-events.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-offline/src/service-worker-events.ts#L2)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / OfflineSynchronizationStore
|
|
2
|
-
|
|
3
|
-
# Interface: OfflineSynchronizationStore
|
|
4
|
-
|
|
5
|
-
Represents the data inside the global offline synchronization store.
|
|
6
|
-
Provides information about a currently ongoing synchronization.
|
|
7
|
-
|
|
8
|
-
## Table of contents
|
|
9
|
-
|
|
10
|
-
### Properties
|
|
11
|
-
|
|
12
|
-
- [synchronization](OfflineSynchronizationStore.md#synchronization)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### synchronization
|
|
17
|
-
|
|
18
|
-
• `Optional` **synchronization**: `Object`
|
|
19
|
-
|
|
20
|
-
#### Type declaration
|
|
21
|
-
|
|
22
|
-
| Name | Type |
|
|
23
|
-
| :------ | :------ |
|
|
24
|
-
| `abortController` | `AbortController` |
|
|
25
|
-
| `pendingCount` | `number` |
|
|
26
|
-
| `totalCount` | `number` |
|
|
27
|
-
|
|
28
|
-
#### Defined in
|
|
29
|
-
|
|
30
|
-
[packages/framework/esm-offline/src/sync.ts:93](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-offline/src/sync.ts#L93)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / OmrsServiceWorkerEvent
|
|
2
|
-
|
|
3
|
-
# Interface: OmrsServiceWorkerEvent<TypeIdentifier\>
|
|
4
|
-
|
|
5
|
-
## Type parameters
|
|
6
|
-
|
|
7
|
-
| Name | Type |
|
|
8
|
-
| :------ | :------ |
|
|
9
|
-
| `TypeIdentifier` | extends `string` |
|
|
10
|
-
|
|
11
|
-
## Hierarchy
|
|
12
|
-
|
|
13
|
-
- **`OmrsServiceWorkerEvent`**
|
|
14
|
-
|
|
15
|
-
↳ [`NetworkRequestFailedEvent`](NetworkRequestFailedEvent.md)
|
|
16
|
-
|
|
17
|
-
## Table of contents
|
|
18
|
-
|
|
19
|
-
### Properties
|
|
20
|
-
|
|
21
|
-
- [type](OmrsServiceWorkerEvent.md#type)
|
|
22
|
-
|
|
23
|
-
## Properties
|
|
24
|
-
|
|
25
|
-
### type
|
|
26
|
-
|
|
27
|
-
• **type**: `TypeIdentifier`
|
|
28
|
-
|
|
29
|
-
#### Defined in
|
|
30
|
-
|
|
31
|
-
[packages/framework/esm-offline/src/service-worker-events.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-offline/src/service-worker-events.ts#L2)
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / OpenmrsReactComponentProps
|
|
2
|
-
|
|
3
|
-
# Interface: OpenmrsReactComponentProps
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [\_extensionContext](OpenmrsReactComponentProps.md#_extensioncontext)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### \_extensionContext
|
|
14
|
-
|
|
15
|
-
• `Optional` **\_extensionContext**: [`ExtensionData`](ExtensionData.md)
|
|
16
|
-
|
|
17
|
-
#### Defined in
|
|
18
|
-
|
|
19
|
-
[packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:62](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L62)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / OpenmrsReactComponentState
|
|
2
|
-
|
|
3
|
-
# Interface: OpenmrsReactComponentState
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [caughtError](OpenmrsReactComponentState.md#caughterror)
|
|
10
|
-
- [caughtErrorInfo](OpenmrsReactComponentState.md#caughterrorinfo)
|
|
11
|
-
- [config](OpenmrsReactComponentState.md#config)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### caughtError
|
|
16
|
-
|
|
17
|
-
• **caughtError**: `any`
|
|
18
|
-
|
|
19
|
-
#### Defined in
|
|
20
|
-
|
|
21
|
-
[packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:66](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L66)
|
|
22
|
-
|
|
23
|
-
___
|
|
24
|
-
|
|
25
|
-
### caughtErrorInfo
|
|
26
|
-
|
|
27
|
-
• **caughtErrorInfo**: `any`
|
|
28
|
-
|
|
29
|
-
#### Defined in
|
|
30
|
-
|
|
31
|
-
[packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:67](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L67)
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### config
|
|
36
|
-
|
|
37
|
-
• **config**: [`ComponentConfig`](ComponentConfig.md)
|
|
38
|
-
|
|
39
|
-
#### Defined in
|
|
40
|
-
|
|
41
|
-
[packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx:68](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-react-utils/src/openmrsComponentDecorator.tsx#L68)
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / SessionUser
|
|
2
|
-
|
|
3
|
-
# Interface: SessionUser
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [allowedLocales](SessionUser.md#allowedlocales)
|
|
10
|
-
- [authenticated](SessionUser.md#authenticated)
|
|
11
|
-
- [currentProvider](SessionUser.md#currentprovider)
|
|
12
|
-
- [locale](SessionUser.md#locale)
|
|
13
|
-
- [sessionId](SessionUser.md#sessionid)
|
|
14
|
-
- [sessionLocation](SessionUser.md#sessionlocation)
|
|
15
|
-
- [user](SessionUser.md#user)
|
|
16
|
-
|
|
17
|
-
## Properties
|
|
18
|
-
|
|
19
|
-
### allowedLocales
|
|
20
|
-
|
|
21
|
-
• **allowedLocales**: `string`[]
|
|
22
|
-
|
|
23
|
-
#### Defined in
|
|
24
|
-
|
|
25
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L8)
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### authenticated
|
|
30
|
-
|
|
31
|
-
• **authenticated**: `boolean`
|
|
32
|
-
|
|
33
|
-
#### Defined in
|
|
34
|
-
|
|
35
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L9)
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### currentProvider
|
|
40
|
-
|
|
41
|
-
• **currentProvider**: `Object`
|
|
42
|
-
|
|
43
|
-
#### Type declaration
|
|
44
|
-
|
|
45
|
-
| Name | Type |
|
|
46
|
-
| :------ | :------ |
|
|
47
|
-
| `identifier` | `string` |
|
|
48
|
-
| `uuid` | `string` |
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:13](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L13)
|
|
53
|
-
|
|
54
|
-
___
|
|
55
|
-
|
|
56
|
-
### locale
|
|
57
|
-
|
|
58
|
-
• **locale**: `string`
|
|
59
|
-
|
|
60
|
-
#### Defined in
|
|
61
|
-
|
|
62
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L10)
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### sessionId
|
|
67
|
-
|
|
68
|
-
• **sessionId**: `string`
|
|
69
|
-
|
|
70
|
-
#### Defined in
|
|
71
|
-
|
|
72
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:11](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L11)
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### sessionLocation
|
|
77
|
-
|
|
78
|
-
• **sessionLocation**: `any`
|
|
79
|
-
|
|
80
|
-
#### Defined in
|
|
81
|
-
|
|
82
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L14)
|
|
83
|
-
|
|
84
|
-
___
|
|
85
|
-
|
|
86
|
-
### user
|
|
87
|
-
|
|
88
|
-
• **user**: [`User`](User.md)
|
|
89
|
-
|
|
90
|
-
#### Defined in
|
|
91
|
-
|
|
92
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:12](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L12)
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / UnauthenticatedUser
|
|
2
|
-
|
|
3
|
-
# Interface: UnauthenticatedUser
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [authenticated](UnauthenticatedUser.md#authenticated)
|
|
10
|
-
- [sessionId](UnauthenticatedUser.md#sessionid)
|
|
11
|
-
- [sessionLocation](UnauthenticatedUser.md#sessionlocation)
|
|
12
|
-
- [user](UnauthenticatedUser.md#user)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### authenticated
|
|
17
|
-
|
|
18
|
-
• **authenticated**: `boolean`
|
|
19
|
-
|
|
20
|
-
#### Defined in
|
|
21
|
-
|
|
22
|
-
[packages/framework/esm-api/src/types/user-resource.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/user-resource.ts#L30)
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### sessionId
|
|
27
|
-
|
|
28
|
-
• **sessionId**: `string`
|
|
29
|
-
|
|
30
|
-
#### Defined in
|
|
31
|
-
|
|
32
|
-
[packages/framework/esm-api/src/types/user-resource.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/user-resource.ts#L29)
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### sessionLocation
|
|
37
|
-
|
|
38
|
-
• `Optional` **sessionLocation**: [`SessionLocation`](SessionLocation.md)
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[packages/framework/esm-api/src/types/user-resource.ts:32](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/user-resource.ts#L32)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### user
|
|
47
|
-
|
|
48
|
-
• `Optional` **user**: [`LoggedInUser`](LoggedInUser.md)
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[packages/framework/esm-api/src/types/user-resource.ts:31](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/user-resource.ts#L31)
|
package/docs/interfaces/User.md
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / User
|
|
2
|
-
|
|
3
|
-
# Interface: User
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [display](User.md#display)
|
|
10
|
-
- [link](User.md#link)
|
|
11
|
-
- [person](User.md#person)
|
|
12
|
-
- [priviliges](User.md#priviliges)
|
|
13
|
-
- [resourceVersion](User.md#resourceversion)
|
|
14
|
-
- [roles](User.md#roles)
|
|
15
|
-
- [userProperties](User.md#userproperties)
|
|
16
|
-
- [username](User.md#username)
|
|
17
|
-
- [uuid](User.md#uuid)
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### display
|
|
22
|
-
|
|
23
|
-
• **display**: `string`
|
|
24
|
-
|
|
25
|
-
#### Defined in
|
|
26
|
-
|
|
27
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:18](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L18)
|
|
28
|
-
|
|
29
|
-
___
|
|
30
|
-
|
|
31
|
-
### link
|
|
32
|
-
|
|
33
|
-
• **link**: `string`[]
|
|
34
|
-
|
|
35
|
-
#### Defined in
|
|
36
|
-
|
|
37
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L19)
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### person
|
|
42
|
-
|
|
43
|
-
• **person**: `any`
|
|
44
|
-
|
|
45
|
-
#### Defined in
|
|
46
|
-
|
|
47
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L20)
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### priviliges
|
|
52
|
-
|
|
53
|
-
• **priviliges**: `any`
|
|
54
|
-
|
|
55
|
-
#### Defined in
|
|
56
|
-
|
|
57
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L21)
|
|
58
|
-
|
|
59
|
-
___
|
|
60
|
-
|
|
61
|
-
### resourceVersion
|
|
62
|
-
|
|
63
|
-
• **resourceVersion**: `any`
|
|
64
|
-
|
|
65
|
-
#### Defined in
|
|
66
|
-
|
|
67
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L22)
|
|
68
|
-
|
|
69
|
-
___
|
|
70
|
-
|
|
71
|
-
### roles
|
|
72
|
-
|
|
73
|
-
• **roles**: `any`[]
|
|
74
|
-
|
|
75
|
-
#### Defined in
|
|
76
|
-
|
|
77
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:23](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L23)
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
|
|
81
|
-
### userProperties
|
|
82
|
-
|
|
83
|
-
• **userProperties**: `any`
|
|
84
|
-
|
|
85
|
-
#### Defined in
|
|
86
|
-
|
|
87
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:24](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L24)
|
|
88
|
-
|
|
89
|
-
___
|
|
90
|
-
|
|
91
|
-
### username
|
|
92
|
-
|
|
93
|
-
• **username**: `string`
|
|
94
|
-
|
|
95
|
-
#### Defined in
|
|
96
|
-
|
|
97
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:25](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L25)
|
|
98
|
-
|
|
99
|
-
___
|
|
100
|
-
|
|
101
|
-
### uuid
|
|
102
|
-
|
|
103
|
-
• **uuid**: `string`
|
|
104
|
-
|
|
105
|
-
#### Defined in
|
|
106
|
-
|
|
107
|
-
[packages/framework/esm-api/src/types/openmrs-resource.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-api/src/types/openmrs-resource.ts#L26)
|