@adobe/exc-app 0.2.46 → 1.0.1
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/RuntimeConfiguration.d.ts +4 -0
- package/appapi.d.ts +1 -1
- package/appapi.js +1 -1
- package/appapi.js.map +1 -1
- package/build/preBuild.js +14 -0
- package/capabilityapi.d.ts +4 -2
- package/capabilityapi.js +4 -2
- package/capabilityapi.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/enums/appapi.appids.md +21 -7
- package/docs/enums/capabilityapi.capabilityids.md +28 -0
- package/docs/enums/capabilityapi.capabilitynames.md +28 -0
- package/docs/enums/network.routing.md +21 -1
- package/docs/interfaces/ims.activeproductcontext.md +13 -0
- package/docs/interfaces/ims.imsprofile.md +130 -0
- package/docs/interfaces/ims.productcontext.md +141 -0
- package/docs/interfaces/ims.projectedproductcontext.md +21 -0
- package/docs/interfaces/network.queryrequest.md +20 -0
- package/docs/interfaces/root.poller.md +56 -0
- package/docs/interfaces/root.pollerhandle.md +21 -0
- package/docs/interfaces/root.pollingconfiguration.md +28 -0
- package/docs/interfaces/root.runtimeconfiguration.md +10 -1
- package/docs/interfaces/root.useractivityemitter.md +110 -0
- package/docs/interfaces/root.useractivitymonitor.md +151 -0
- package/docs/interfaces/user.userapi.md +1 -1
- package/docs/modules/ims.md +14 -0
- package/docs/modules/network.md +7 -0
- package/docs/modules/root.md +5 -0
- package/docs/modules/settings.md +8 -57
- package/docs/modules/user.md +14 -0
- package/index.js +7 -0
- package/index.js.map +1 -1
- package/internal.d.ts +9 -0
- package/internal.js +3 -0
- package/internal.js.map +1 -1
- package/network.d.ts +17 -1
- package/network.js +11 -0
- package/network.js.map +1 -1
- package/package.json +6 -7
- package/src/Global.d.ts +3 -1
- package/src/Global.js.map +1 -1
- package/tests/index.test.js +5 -0
- package/tests/index.test.js.map +1 -1
- package/tests/version.test.d.ts +1 -0
- package/tests/version.test.js +23 -0
- package/tests/version.test.js.map +1 -0
- package/{settings/SettingsLevel.ts → version.d.ts} +2 -20
- package/{metrics/Level.ts → version.js} +6 -20
- package/version.js.map +1 -0
- package/RuntimeConfiguration.ts +0 -272
- package/appapi.ts +0 -140
- package/capabilityapi.ts +0 -162
- package/coverage/lcov-report/block-navigation.js +0 -79
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sorter.js +0 -170
- package/helpcenter.ts +0 -253
- package/ims/ImsProfile.ts +0 -57
- package/index.ts +0 -76
- package/internal.ts +0 -102
- package/metrics/Analytics.ts +0 -55
- package/metrics/Application.ts +0 -24
- package/metrics/Configuration.ts +0 -33
- package/metrics/Events.ts +0 -28
- package/metrics/History.ts +0 -36
- package/metrics/Metric.ts +0 -52
- package/metrics/Metrics.ts +0 -129
- package/metrics/RecordType.ts +0 -139
- package/metrics/User.ts +0 -30
- package/metrics.ts +0 -94
- package/network.ts +0 -554
- package/nps.ts +0 -83
- package/orgswitcher.ts +0 -109
- package/page.ts +0 -497
- package/permissions.ts +0 -103
- package/pulse.ts +0 -198
- package/session.ts +0 -116
- package/settings.ts +0 -147
- package/shell.ts +0 -107
- package/sidebar.ts +0 -208
- package/sidenav.ts +0 -287
- package/src/EventEmitter.ts +0 -44
- package/src/Global.ts +0 -109
- package/src/Runtime.ts +0 -23
- package/tests/MockRuntime.ts +0 -28
- package/tests/appapi.test.ts +0 -78
- package/tests/capabilityapi.test.ts +0 -55
- package/tests/helpCenter.test.ts +0 -80
- package/tests/index.test.ts +0 -50
- package/tests/metrics.test.ts +0 -34
- package/tests/nps.test.ts +0 -37
- package/tests/page.test.ts +0 -110
- package/tests/permissions.test.ts +0 -96
- package/tests/pulse.test.ts +0 -37
- package/tests/shell.test.ts +0 -89
- package/tests/sidenav.test.ts +0 -91
- package/tests/topbar.test.ts +0 -85
- package/tests/user.test.ts +0 -129
- package/tests/userprofile.test.ts +0 -31
- package/topbar.ts +0 -288
- package/user.ts +0 -235
- package/userprofile.ts +0 -93
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [ims](../modules/ims.md) / ProductContext
|
|
4
|
+
|
|
5
|
+
# Interface: ProductContext
|
|
6
|
+
|
|
7
|
+
Copyright 2021 Adobe
|
|
8
|
+
All Rights Reserved.
|
|
9
|
+
|
|
10
|
+
NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
11
|
+
accordance with the terms of the Adobe license agreement accompanying
|
|
12
|
+
it. If you have received this file from a source other than Adobe,
|
|
13
|
+
then your use, modification, or distribution of it requires the prior
|
|
14
|
+
written permission of Adobe.
|
|
15
|
+
|
|
16
|
+
## Hierarchy
|
|
17
|
+
|
|
18
|
+
* **ProductContext**
|
|
19
|
+
|
|
20
|
+
## Indexable
|
|
21
|
+
|
|
22
|
+
▪ [key: string]: any
|
|
23
|
+
|
|
24
|
+
Copyright 2021 Adobe
|
|
25
|
+
All Rights Reserved.
|
|
26
|
+
|
|
27
|
+
NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
28
|
+
accordance with the terms of the Adobe license agreement accompanying
|
|
29
|
+
it. If you have received this file from a source other than Adobe,
|
|
30
|
+
then your use, modification, or distribution of it requires the prior
|
|
31
|
+
written permission of Adobe.
|
|
32
|
+
|
|
33
|
+
## Index
|
|
34
|
+
|
|
35
|
+
### Properties
|
|
36
|
+
|
|
37
|
+
* [createDts](ims.productcontext.md#createdts)
|
|
38
|
+
* [geo](ims.productcontext.md#geo)
|
|
39
|
+
* [global\_company\_id](ims.productcontext.md#global_company_id)
|
|
40
|
+
* [groupid](ims.productcontext.md#groupid)
|
|
41
|
+
* [ident](ims.productcontext.md#ident)
|
|
42
|
+
* [label](ims.productcontext.md#label)
|
|
43
|
+
* [login\_company](ims.productcontext.md#login_company)
|
|
44
|
+
* [migration\_status](ims.productcontext.md#migration_status)
|
|
45
|
+
* [modDts](ims.productcontext.md#moddts)
|
|
46
|
+
* [offer\_id](ims.productcontext.md#offer_id)
|
|
47
|
+
* [owningEntity](ims.productcontext.md#owningentity)
|
|
48
|
+
* [serviceCode](ims.productcontext.md#servicecode)
|
|
49
|
+
* [serviceLevel](ims.productcontext.md#servicelevel)
|
|
50
|
+
* [statusCode](ims.productcontext.md#statuscode)
|
|
51
|
+
* [tenant\_id](ims.productcontext.md#tenant_id)
|
|
52
|
+
|
|
53
|
+
## Properties
|
|
54
|
+
|
|
55
|
+
### createDts
|
|
56
|
+
|
|
57
|
+
• **createDts**: number
|
|
58
|
+
|
|
59
|
+
___
|
|
60
|
+
|
|
61
|
+
### geo
|
|
62
|
+
|
|
63
|
+
• `Optional` **geo**: undefined \| string
|
|
64
|
+
|
|
65
|
+
___
|
|
66
|
+
|
|
67
|
+
### global\_company\_id
|
|
68
|
+
|
|
69
|
+
• `Optional` **global\_company\_id**: undefined \| string
|
|
70
|
+
|
|
71
|
+
___
|
|
72
|
+
|
|
73
|
+
### groupid
|
|
74
|
+
|
|
75
|
+
• **groupid**: string
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### ident
|
|
80
|
+
|
|
81
|
+
• **ident**: string
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### label
|
|
86
|
+
|
|
87
|
+
• **label**: string
|
|
88
|
+
|
|
89
|
+
___
|
|
90
|
+
|
|
91
|
+
### login\_company
|
|
92
|
+
|
|
93
|
+
• `Optional` **login\_company**: undefined \| string
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### migration\_status
|
|
98
|
+
|
|
99
|
+
• `Optional` **migration\_status**: undefined \| string
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### modDts
|
|
104
|
+
|
|
105
|
+
• **modDts**: number
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### offer\_id
|
|
110
|
+
|
|
111
|
+
• `Optional` **offer\_id**: undefined \| string
|
|
112
|
+
|
|
113
|
+
___
|
|
114
|
+
|
|
115
|
+
### owningEntity
|
|
116
|
+
|
|
117
|
+
• **owningEntity**: string
|
|
118
|
+
|
|
119
|
+
___
|
|
120
|
+
|
|
121
|
+
### serviceCode
|
|
122
|
+
|
|
123
|
+
• **serviceCode**: string
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### serviceLevel
|
|
128
|
+
|
|
129
|
+
• **serviceLevel**: string
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### statusCode
|
|
134
|
+
|
|
135
|
+
• **statusCode**: string
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
### tenant\_id
|
|
140
|
+
|
|
141
|
+
• `Optional` **tenant\_id**: undefined \| string
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [ims](../modules/ims.md) / ProjectedProductContext
|
|
4
|
+
|
|
5
|
+
# Interface: ProjectedProductContext
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
* **ProjectedProductContext**
|
|
10
|
+
|
|
11
|
+
## Index
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
* [prodCtx](ims.projectedproductcontext.md#prodctx)
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### prodCtx
|
|
20
|
+
|
|
21
|
+
• **prodCtx**: [ProductContext](ims.productcontext.md)
|
|
@@ -14,11 +14,13 @@ Query request interface.
|
|
|
14
14
|
|
|
15
15
|
### Properties
|
|
16
16
|
|
|
17
|
+
* [acceptLanguage](network.queryrequest.md#acceptlanguage)
|
|
17
18
|
* [appId](network.queryrequest.md#appid)
|
|
18
19
|
* [data](network.queryrequest.md#data)
|
|
19
20
|
* [maxRetries](network.queryrequest.md#maxretries)
|
|
20
21
|
* [metadata](network.queryrequest.md#metadata)
|
|
21
22
|
* [operationName](network.queryrequest.md#operationname)
|
|
23
|
+
* [preferredRegion](network.queryrequest.md#preferredregion)
|
|
22
24
|
* [regionEnabled](network.queryrequest.md#regionenabled)
|
|
23
25
|
* [routing](network.queryrequest.md#routing)
|
|
24
26
|
* [scope](network.queryrequest.md#scope)
|
|
@@ -27,6 +29,16 @@ Query request interface.
|
|
|
27
29
|
|
|
28
30
|
## Properties
|
|
29
31
|
|
|
32
|
+
### acceptLanguage
|
|
33
|
+
|
|
34
|
+
• `Optional` **acceptLanguage**: undefined \| string
|
|
35
|
+
|
|
36
|
+
Set the Accept-Language HTTP header in the request. Defaults to '*' (any language).
|
|
37
|
+
|
|
38
|
+
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language for more details.
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
30
42
|
### appId
|
|
31
43
|
|
|
32
44
|
• `Optional` **appId**: undefined \| string
|
|
@@ -91,6 +103,14 @@ Query ID- To analyze a query's metrics & performance.
|
|
|
91
103
|
|
|
92
104
|
___
|
|
93
105
|
|
|
106
|
+
### preferredRegion
|
|
107
|
+
|
|
108
|
+
• `Optional` **preferredRegion**: [GraphQLRegion](../modules/network.md#graphqlregion)
|
|
109
|
+
|
|
110
|
+
Preferred region to send the GraphQL request to
|
|
111
|
+
|
|
112
|
+
___
|
|
113
|
+
|
|
94
114
|
### regionEnabled
|
|
95
115
|
|
|
96
116
|
• `Optional` **regionEnabled**: undefined \| false \| true
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [root](../modules/root.md) / Poller
|
|
4
|
+
|
|
5
|
+
# Interface: Poller
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
* **Poller**
|
|
10
|
+
|
|
11
|
+
## Index
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
* [activeFrequency](root.poller.md#activefrequency)
|
|
16
|
+
* [hiddenFrequency](root.poller.md#hiddenfrequency)
|
|
17
|
+
* [immediate](root.poller.md#immediate)
|
|
18
|
+
* [inactiveFrequency](root.poller.md#inactivefrequency)
|
|
19
|
+
* [name](root.poller.md#name)
|
|
20
|
+
* [pollFn](root.poller.md#pollfn)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### activeFrequency
|
|
25
|
+
|
|
26
|
+
• **activeFrequency**: number
|
|
27
|
+
|
|
28
|
+
___
|
|
29
|
+
|
|
30
|
+
### hiddenFrequency
|
|
31
|
+
|
|
32
|
+
• `Optional` **hiddenFrequency**: undefined \| number
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### immediate
|
|
37
|
+
|
|
38
|
+
• **immediate**: boolean
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### inactiveFrequency
|
|
43
|
+
|
|
44
|
+
• **inactiveFrequency**: number
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### name
|
|
49
|
+
|
|
50
|
+
• **name**: string
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
54
|
+
### pollFn
|
|
55
|
+
|
|
56
|
+
• **pollFn**: () => Promise<void\>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [root](../modules/root.md) / PollerHandle
|
|
4
|
+
|
|
5
|
+
# Interface: PollerHandle
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
* **PollerHandle**
|
|
10
|
+
|
|
11
|
+
## Index
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
* [handle](root.pollerhandle.md#handle)
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### handle
|
|
20
|
+
|
|
21
|
+
• **handle**: string
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [root](../modules/root.md) / PollingConfiguration
|
|
4
|
+
|
|
5
|
+
# Interface: PollingConfiguration
|
|
6
|
+
|
|
7
|
+
## Hierarchy
|
|
8
|
+
|
|
9
|
+
* **PollingConfiguration**
|
|
10
|
+
|
|
11
|
+
## Index
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
* [inactivityTimeoutSec](root.pollingconfiguration.md#inactivitytimeoutsec)
|
|
16
|
+
* [pollWhileInactive](root.pollingconfiguration.md#pollwhileinactive)
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### inactivityTimeoutSec
|
|
21
|
+
|
|
22
|
+
• `Optional` **inactivityTimeoutSec**: undefined \| number
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### pollWhileInactive
|
|
27
|
+
|
|
28
|
+
• `Optional` **pollWhileInactive**: undefined \| false \| true
|
|
@@ -50,6 +50,7 @@ External Runtime Configuration Interface
|
|
|
50
50
|
* [shellSideNavCollapsed](root.runtimeconfiguration.md#shellsidenavcollapsed)
|
|
51
51
|
* [shellSideNavPresent](root.runtimeconfiguration.md#shellsidenavpresent)
|
|
52
52
|
* [shellSideNavWidth](root.runtimeconfiguration.md#shellsidenavwidth)
|
|
53
|
+
* [sourceEnvironment](root.runtimeconfiguration.md#sourceenvironment)
|
|
53
54
|
* [spaAppId](root.runtimeconfiguration.md#spaappid)
|
|
54
55
|
* [subOrg](root.runtimeconfiguration.md#suborg)
|
|
55
56
|
* [tenant](root.runtimeconfiguration.md#tenant)
|
|
@@ -229,7 +230,7 @@ ___
|
|
|
229
230
|
|
|
230
231
|
### imsProfile
|
|
231
232
|
|
|
232
|
-
• `Optional` **imsProfile**:
|
|
233
|
+
• `Optional` **imsProfile**: [ImsProfile](ims.imsprofile.md)
|
|
233
234
|
|
|
234
235
|
User IMS Profile
|
|
235
236
|
|
|
@@ -347,6 +348,14 @@ Side Nav width
|
|
|
347
348
|
|
|
348
349
|
___
|
|
349
350
|
|
|
351
|
+
### sourceEnvironment
|
|
352
|
+
|
|
353
|
+
• **sourceEnvironment**: string
|
|
354
|
+
|
|
355
|
+
Source environment
|
|
356
|
+
|
|
357
|
+
___
|
|
358
|
+
|
|
350
359
|
### spaAppId
|
|
351
360
|
|
|
352
361
|
• `Optional` **spaAppId**: undefined \| string
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [root](../modules/root.md) / UserActivityEmitter
|
|
4
|
+
|
|
5
|
+
# Interface: UserActivityEmitter<T\>
|
|
6
|
+
|
|
7
|
+
## Type parameters
|
|
8
|
+
|
|
9
|
+
Name | Default |
|
|
10
|
+
------ | ------ |
|
|
11
|
+
`T` | Record<string, any\\> |
|
|
12
|
+
|
|
13
|
+
## Hierarchy
|
|
14
|
+
|
|
15
|
+
* EventEmitter
|
|
16
|
+
|
|
17
|
+
↳ **UserActivityEmitter**
|
|
18
|
+
|
|
19
|
+
## Index
|
|
20
|
+
|
|
21
|
+
### Properties
|
|
22
|
+
|
|
23
|
+
* [activityEvents](root.useractivityemitter.md#activityevents)
|
|
24
|
+
|
|
25
|
+
### EventEmitter Methods
|
|
26
|
+
|
|
27
|
+
* [emit](root.useractivityemitter.md#emit)
|
|
28
|
+
* [off](root.useractivityemitter.md#off)
|
|
29
|
+
* [on](root.useractivityemitter.md#on)
|
|
30
|
+
|
|
31
|
+
## Properties
|
|
32
|
+
|
|
33
|
+
### activityEvents
|
|
34
|
+
|
|
35
|
+
• **activityEvents**: string[]
|
|
36
|
+
|
|
37
|
+
## EventEmitter Methods
|
|
38
|
+
|
|
39
|
+
### emit
|
|
40
|
+
|
|
41
|
+
▸ **emit**<K\>(`type`: K, `event?`: T[K]): void
|
|
42
|
+
|
|
43
|
+
*Inherited from void*
|
|
44
|
+
|
|
45
|
+
Invoke all handlers for the given type.
|
|
46
|
+
|
|
47
|
+
#### Type parameters:
|
|
48
|
+
|
|
49
|
+
Name | Type |
|
|
50
|
+
------ | ------ |
|
|
51
|
+
`K` | keyof T |
|
|
52
|
+
|
|
53
|
+
#### Parameters:
|
|
54
|
+
|
|
55
|
+
Name | Type | Description |
|
|
56
|
+
------ | ------ | ------ |
|
|
57
|
+
`type` | K | The event type to invoke. |
|
|
58
|
+
`event?` | T[K] | Any value (object is recommended and powerful), passed to each handler. |
|
|
59
|
+
|
|
60
|
+
**Returns:** void
|
|
61
|
+
|
|
62
|
+
___
|
|
63
|
+
|
|
64
|
+
### off
|
|
65
|
+
|
|
66
|
+
▸ **off**<K\>(`type`: K, `handler`: (event?: T[K]) => void): void
|
|
67
|
+
|
|
68
|
+
*Inherited from void*
|
|
69
|
+
|
|
70
|
+
Remove an event handler for the given type.
|
|
71
|
+
|
|
72
|
+
#### Type parameters:
|
|
73
|
+
|
|
74
|
+
Name | Type |
|
|
75
|
+
------ | ------ |
|
|
76
|
+
`K` | keyof T |
|
|
77
|
+
|
|
78
|
+
#### Parameters:
|
|
79
|
+
|
|
80
|
+
Name | Type | Description |
|
|
81
|
+
------ | ------ | ------ |
|
|
82
|
+
`type` | K | Type of event to unregister `handler` from. |
|
|
83
|
+
`handler` | (event?: T[K]) => void | Handler function to remove. |
|
|
84
|
+
|
|
85
|
+
**Returns:** void
|
|
86
|
+
|
|
87
|
+
___
|
|
88
|
+
|
|
89
|
+
### on
|
|
90
|
+
|
|
91
|
+
▸ **on**<K\>(`type`: K, `handler`: (event?: T[K]) => void): void
|
|
92
|
+
|
|
93
|
+
*Inherited from void*
|
|
94
|
+
|
|
95
|
+
Register an event handler for the given type.
|
|
96
|
+
|
|
97
|
+
#### Type parameters:
|
|
98
|
+
|
|
99
|
+
Name | Type |
|
|
100
|
+
------ | ------ |
|
|
101
|
+
`K` | keyof T |
|
|
102
|
+
|
|
103
|
+
#### Parameters:
|
|
104
|
+
|
|
105
|
+
Name | Type | Description |
|
|
106
|
+
------ | ------ | ------ |
|
|
107
|
+
`type` | K | Type of event to listen for. |
|
|
108
|
+
`handler` | (event?: T[K]) => void | Function to call in response to given event. |
|
|
109
|
+
|
|
110
|
+
**Returns:** void
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / [root](../modules/root.md) / UserActivityMonitor
|
|
4
|
+
|
|
5
|
+
# Interface: UserActivityMonitor<T\>
|
|
6
|
+
|
|
7
|
+
## Type parameters
|
|
8
|
+
|
|
9
|
+
Name | Default |
|
|
10
|
+
------ | ------ |
|
|
11
|
+
`T` | Record<string, any\\> |
|
|
12
|
+
|
|
13
|
+
## Hierarchy
|
|
14
|
+
|
|
15
|
+
* EventEmitter
|
|
16
|
+
|
|
17
|
+
↳ **UserActivityMonitor**
|
|
18
|
+
|
|
19
|
+
## Index
|
|
20
|
+
|
|
21
|
+
### Properties
|
|
22
|
+
|
|
23
|
+
* [active](root.useractivitymonitor.md#active)
|
|
24
|
+
* [configure](root.useractivitymonitor.md#configure)
|
|
25
|
+
* [hidden](root.useractivitymonitor.md#hidden)
|
|
26
|
+
* [lastActive](root.useractivitymonitor.md#lastactive)
|
|
27
|
+
|
|
28
|
+
### EventEmitter Methods
|
|
29
|
+
|
|
30
|
+
* [emit](root.useractivitymonitor.md#emit)
|
|
31
|
+
* [off](root.useractivitymonitor.md#off)
|
|
32
|
+
* [on](root.useractivitymonitor.md#on)
|
|
33
|
+
|
|
34
|
+
### Other Methods
|
|
35
|
+
|
|
36
|
+
* [registerActivityEmitter](root.useractivitymonitor.md#registeractivityemitter)
|
|
37
|
+
|
|
38
|
+
## Properties
|
|
39
|
+
|
|
40
|
+
### active
|
|
41
|
+
|
|
42
|
+
• **active**: boolean
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### configure
|
|
47
|
+
|
|
48
|
+
• **configure**: (config: [PollingConfiguration](root.pollingconfiguration.md)) => void
|
|
49
|
+
|
|
50
|
+
___
|
|
51
|
+
|
|
52
|
+
### hidden
|
|
53
|
+
|
|
54
|
+
• **hidden**: boolean
|
|
55
|
+
|
|
56
|
+
___
|
|
57
|
+
|
|
58
|
+
### lastActive
|
|
59
|
+
|
|
60
|
+
• **lastActive**: number
|
|
61
|
+
|
|
62
|
+
## EventEmitter Methods
|
|
63
|
+
|
|
64
|
+
### emit
|
|
65
|
+
|
|
66
|
+
▸ **emit**<K\>(`type`: K, `event?`: T[K]): void
|
|
67
|
+
|
|
68
|
+
*Inherited from void*
|
|
69
|
+
|
|
70
|
+
Invoke all handlers for the given type.
|
|
71
|
+
|
|
72
|
+
#### Type parameters:
|
|
73
|
+
|
|
74
|
+
Name | Type |
|
|
75
|
+
------ | ------ |
|
|
76
|
+
`K` | keyof T |
|
|
77
|
+
|
|
78
|
+
#### Parameters:
|
|
79
|
+
|
|
80
|
+
Name | Type | Description |
|
|
81
|
+
------ | ------ | ------ |
|
|
82
|
+
`type` | K | The event type to invoke. |
|
|
83
|
+
`event?` | T[K] | Any value (object is recommended and powerful), passed to each handler. |
|
|
84
|
+
|
|
85
|
+
**Returns:** void
|
|
86
|
+
|
|
87
|
+
___
|
|
88
|
+
|
|
89
|
+
### off
|
|
90
|
+
|
|
91
|
+
▸ **off**<K\>(`type`: K, `handler`: (event?: T[K]) => void): void
|
|
92
|
+
|
|
93
|
+
*Inherited from void*
|
|
94
|
+
|
|
95
|
+
Remove an event handler for the given type.
|
|
96
|
+
|
|
97
|
+
#### Type parameters:
|
|
98
|
+
|
|
99
|
+
Name | Type |
|
|
100
|
+
------ | ------ |
|
|
101
|
+
`K` | keyof T |
|
|
102
|
+
|
|
103
|
+
#### Parameters:
|
|
104
|
+
|
|
105
|
+
Name | Type | Description |
|
|
106
|
+
------ | ------ | ------ |
|
|
107
|
+
`type` | K | Type of event to unregister `handler` from. |
|
|
108
|
+
`handler` | (event?: T[K]) => void | Handler function to remove. |
|
|
109
|
+
|
|
110
|
+
**Returns:** void
|
|
111
|
+
|
|
112
|
+
___
|
|
113
|
+
|
|
114
|
+
### on
|
|
115
|
+
|
|
116
|
+
▸ **on**<K\>(`type`: K, `handler`: (event?: T[K]) => void): void
|
|
117
|
+
|
|
118
|
+
*Inherited from void*
|
|
119
|
+
|
|
120
|
+
Register an event handler for the given type.
|
|
121
|
+
|
|
122
|
+
#### Type parameters:
|
|
123
|
+
|
|
124
|
+
Name | Type |
|
|
125
|
+
------ | ------ |
|
|
126
|
+
`K` | keyof T |
|
|
127
|
+
|
|
128
|
+
#### Parameters:
|
|
129
|
+
|
|
130
|
+
Name | Type | Description |
|
|
131
|
+
------ | ------ | ------ |
|
|
132
|
+
`type` | K | Type of event to listen for. |
|
|
133
|
+
`handler` | (event?: T[K]) => void | Function to call in response to given event. |
|
|
134
|
+
|
|
135
|
+
**Returns:** void
|
|
136
|
+
|
|
137
|
+
___
|
|
138
|
+
|
|
139
|
+
## Other Methods
|
|
140
|
+
|
|
141
|
+
### registerActivityEmitter
|
|
142
|
+
|
|
143
|
+
▸ **registerActivityEmitter**(`emitter`: [UserActivityEmitter](root.useractivityemitter.md)): void
|
|
144
|
+
|
|
145
|
+
#### Parameters:
|
|
146
|
+
|
|
147
|
+
Name | Type |
|
|
148
|
+
------ | ------ |
|
|
149
|
+
`emitter` | [UserActivityEmitter](root.useractivityemitter.md) |
|
|
150
|
+
|
|
151
|
+
**Returns:** void
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
### logoutUrl
|
|
34
34
|
|
|
35
|
-
•
|
|
35
|
+
• `Optional` **logoutUrl**: [LogoutUrl](../modules/user.md#logouturl)
|
|
36
36
|
|
|
37
37
|
Optional. When specified this URL will be invoked upon user logging out. This is useful to
|
|
38
38
|
reduce the number of lingering sessions for solutions who have their own sessions server
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
**[@adobe/exc-app](../README.md)**
|
|
2
|
+
|
|
3
|
+
> [Globals](../README.md) / ims
|
|
4
|
+
|
|
5
|
+
# Module: ims
|
|
6
|
+
|
|
7
|
+
## Index
|
|
8
|
+
|
|
9
|
+
### Interfaces
|
|
10
|
+
|
|
11
|
+
* [ActiveProductContext](../interfaces/ims.activeproductcontext.md)
|
|
12
|
+
* [ImsProfile](../interfaces/ims.imsprofile.md)
|
|
13
|
+
* [ProductContext](../interfaces/ims.productcontext.md)
|
|
14
|
+
* [ProjectedProductContext](../interfaces/ims.projectedproductcontext.md)
|
package/docs/modules/network.md
CHANGED
|
@@ -63,6 +63,7 @@ const queryResponse = await query({
|
|
|
63
63
|
### Type aliases
|
|
64
64
|
|
|
65
65
|
* [FetchInit](network.md#fetchinit)
|
|
66
|
+
* [GraphQLRegion](network.md#graphqlregion)
|
|
66
67
|
|
|
67
68
|
### Variables
|
|
68
69
|
|
|
@@ -89,6 +90,12 @@ also additionally specify the 'auth' parameter to automatically set the Authenti
|
|
|
89
90
|
`{auth: 'Header', method: 'GET'}` or
|
|
90
91
|
`{method: 'GET'}`
|
|
91
92
|
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### GraphQLRegion
|
|
96
|
+
|
|
97
|
+
Ƭ **GraphQLRegion**: \"va7\" \| \"aus5\" \| \"nld2\"
|
|
98
|
+
|
|
92
99
|
## Variables
|
|
93
100
|
|
|
94
101
|
### DEFAULT\_STATUS\_CODES\_TO\_RETRY
|
package/docs/modules/root.md
CHANGED
|
@@ -16,8 +16,13 @@ Cloud.
|
|
|
16
16
|
### Interfaces
|
|
17
17
|
|
|
18
18
|
* [Modules](../interfaces/root.modules.md)
|
|
19
|
+
* [Poller](../interfaces/root.poller.md)
|
|
20
|
+
* [PollerHandle](../interfaces/root.pollerhandle.md)
|
|
21
|
+
* [PollingConfiguration](../interfaces/root.pollingconfiguration.md)
|
|
19
22
|
* [Runtime](../interfaces/root.runtime.md)
|
|
20
23
|
* [RuntimeConfiguration](../interfaces/root.runtimeconfiguration.md)
|
|
24
|
+
* [UserActivityEmitter](../interfaces/root.useractivityemitter.md)
|
|
25
|
+
* [UserActivityMonitor](../interfaces/root.useractivitymonitor.md)
|
|
21
26
|
|
|
22
27
|
### Functions
|
|
23
28
|
|