@adobe/exc-app 0.2.47 → 1.0.0
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 +0 -1
- package/appapi.js +0 -1
- package/appapi.js.map +1 -1
- package/build/preBuild.js +14 -0
- package/capabilityapi.d.ts +2 -2
- package/capabilityapi.js +2 -2
- package/capabilityapi.js.map +1 -1
- package/docs/enums/appapi.appids.md +0 -7
- package/docs/enums/capabilityapi.capabilityids.md +7 -7
- package/docs/enums/capabilityapi.capabilitynames.md +7 -7
- package/docs/interfaces/root.runtimeconfiguration.md +9 -0
- package/docs/interfaces/root.useractivitymonitor.md +151 -0
- package/docs/modules/root.md +1 -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/package.json +1 -1
- 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/version.d.ts +12 -0
- package/version.js +15 -0
- package/version.js.map +1 -0
package/appapi.d.ts
CHANGED
|
@@ -79,7 +79,6 @@ export declare enum AppIds {
|
|
|
79
79
|
PROJECT_FIREFLY_APPS = "firefly",
|
|
80
80
|
PROJECT_HUMMINGBIRD = "hummingbird",
|
|
81
81
|
PROJECT_SIERRA = "cjm-home",
|
|
82
|
-
REPORT_SUITE_MAPPING = "reportSuiteMapping",
|
|
83
82
|
SOFTWARE_DISTRIBUTION = "softwareDistribution",
|
|
84
83
|
SYSTEM_STATUS = "systemStatus",
|
|
85
84
|
TARGET = "target",
|
package/appapi.js
CHANGED
|
@@ -85,7 +85,6 @@ var AppIds;
|
|
|
85
85
|
AppIds["PROJECT_FIREFLY_APPS"] = "firefly";
|
|
86
86
|
AppIds["PROJECT_HUMMINGBIRD"] = "hummingbird";
|
|
87
87
|
AppIds["PROJECT_SIERRA"] = "cjm-home";
|
|
88
|
-
AppIds["REPORT_SUITE_MAPPING"] = "reportSuiteMapping";
|
|
89
88
|
AppIds["SOFTWARE_DISTRIBUTION"] = "softwareDistribution";
|
|
90
89
|
AppIds["SYSTEM_STATUS"] = "systemStatus";
|
|
91
90
|
AppIds["TARGET"] = "target";
|
package/appapi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appapi.js","sourceRoot":"","sources":["appapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAiCrC,0DAA0D;AAC1D,IAAY,
|
|
1
|
+
{"version":3,"file":"appapi.js","sourceRoot":"","sources":["appapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAiCrC,0DAA0D;AAC1D,IAAY,MA6CX;AA7CD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,wCAA8B,CAAA;IAC9B,oDAA0C,CAAA;IAC1C,uCAA6B,CAAA;IAC7B,iCAAuB,CAAA;IACvB,2BAAiB,CAAA;IACjB,oCAA0B,CAAA;IAC1B,8CAAoC,CAAA;IACpC,6BAAmB,CAAA;IACnB,0BAAgB,CAAA;IAChB,yCAA+B,CAAA;IAC/B,0CAAgC,CAAA;IAChC,gEAAsD,CAAA;IACtD,0DAAgD,CAAA;IAChD,kDAAwC,CAAA;IACxC,kDAAwC,CAAA;IACxC,sCAA4B,CAAA;IAC5B,+BAAqB,CAAA;IACrB,sCAA4B,CAAA;IAC5B,oDAA0C,CAAA;IAC1C,kDAAwC,CAAA;IACxC,4DAAkD,CAAA;IAClD,gDAAsC,CAAA;IACtC,sDAA4C,CAAA;IAC5C,+BAAqB,CAAA;IACrB,wCAA8B,CAAA;IAC9B,4CAAkC,CAAA;IAClC,8CAAoC,CAAA;IACpC,wCAA8B,CAAA;IAC9B,kCAAwB,CAAA;IACxB,sCAA4B,CAAA;IAC5B,oCAA0B,CAAA;IAC1B,2BAAiB,CAAA;IACjB,2BAAiB,CAAA;IACjB,mCAAyB,CAAA;IACzB,iCAAuB,CAAA;IACvB,kCAAwB,CAAA;IACxB,0CAAgC,CAAA;IAChC,6CAAmC,CAAA;IACnC,qCAA2B,CAAA;IAC3B,wDAA8C,CAAA;IAC9C,wCAA8B,CAAA;IAC9B,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;AACvB,CAAC,EA7CW,MAAM,GAAN,cAAM,KAAN,cAAM,QA6CjB;AAWD,MAAM,MAAM,GAAW;IACrB,GAAG,EAAE,MAAM,CAAC,EAAE;QACZ,OAAO,gBAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC"}
|
package/build/preBuild.js
CHANGED
|
@@ -14,6 +14,20 @@ const landingPage = require('../../core/src/services/AppAssemblyConstants/landin
|
|
|
14
14
|
const path = require('path');
|
|
15
15
|
const services = require('../../core/src/services/AppAssemblyConstants/services');
|
|
16
16
|
const solutions = require('../../core/src/services/AppAssemblyConstants/solutions');
|
|
17
|
+
const {version} = require('../package.json');
|
|
18
|
+
|
|
19
|
+
const versionFilePath = require.resolve(path.join(__dirname, '../version.ts'));
|
|
20
|
+
const versionContents = fs.readFileSync(versionFilePath, 'utf8');
|
|
21
|
+
|
|
22
|
+
try {
|
|
23
|
+
const newVersionContent = versionContents
|
|
24
|
+
.replace(/const EXC_APP_VERSION = (.*)/g,`const EXC_APP_VERSION = '${version}';`);
|
|
25
|
+
if (newVersionContent !== versionContents) {
|
|
26
|
+
fs.writeFileSync(versionFilePath, newVersionContent, 'utf8');
|
|
27
|
+
}
|
|
28
|
+
} catch (err) {
|
|
29
|
+
console.log(`Failed to write ${versionFilePath}`, err); // eslint-disable-line no-console
|
|
30
|
+
}
|
|
17
31
|
|
|
18
32
|
const capabilities = require('../../core/src/services/CapabilityConstants/capabilities');
|
|
19
33
|
|
package/capabilityapi.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare enum CapabilityNames {
|
|
|
28
28
|
ASSETS = "Assets",
|
|
29
29
|
CLIENTPROPERTIES = "Tags",
|
|
30
30
|
COMPONENTS = "Components",
|
|
31
|
+
CONTROLRULES = "Rules",
|
|
31
32
|
DASHBOARD = "Dashboards",
|
|
32
33
|
DATAFLOW = "Dataflows",
|
|
33
34
|
DATASET = "Datasets",
|
|
@@ -51,7 +52,6 @@ export declare enum CapabilityNames {
|
|
|
51
52
|
PROFILE = "Profiles",
|
|
52
53
|
QUERY = "Queries",
|
|
53
54
|
REQUEST = "Requests",
|
|
54
|
-
RULESPOLICIES = "Rules & policies",
|
|
55
55
|
SANDBOX = "Sandboxes",
|
|
56
56
|
SCHEMA = "Schemas",
|
|
57
57
|
SEGMENT = "Segments",
|
|
@@ -72,6 +72,7 @@ export declare enum CapabilityIds {
|
|
|
72
72
|
ASSETS = "assets",
|
|
73
73
|
CLIENTPROPERTIES = "clientproperties",
|
|
74
74
|
COMPONENTS = "components",
|
|
75
|
+
CONTROLRULES = "controlRules",
|
|
75
76
|
DASHBOARD = "dashboard",
|
|
76
77
|
DATAFLOW = "dataflow",
|
|
77
78
|
DATASET = "dataset",
|
|
@@ -95,7 +96,6 @@ export declare enum CapabilityIds {
|
|
|
95
96
|
PROFILE = "profile",
|
|
96
97
|
QUERY = "query",
|
|
97
98
|
REQUEST = "request",
|
|
98
|
-
RULESPOLICIES = "rulesPolicies",
|
|
99
99
|
SANDBOX = "sandbox",
|
|
100
100
|
SCHEMA = "schema",
|
|
101
101
|
SEGMENT = "segment",
|
package/capabilityapi.js
CHANGED
|
@@ -54,6 +54,7 @@ var CapabilityNames;
|
|
|
54
54
|
CapabilityNames["ASSETS"] = "Assets";
|
|
55
55
|
CapabilityNames["CLIENTPROPERTIES"] = "Tags";
|
|
56
56
|
CapabilityNames["COMPONENTS"] = "Components";
|
|
57
|
+
CapabilityNames["CONTROLRULES"] = "Rules";
|
|
57
58
|
CapabilityNames["DASHBOARD"] = "Dashboards";
|
|
58
59
|
CapabilityNames["DATAFLOW"] = "Dataflows";
|
|
59
60
|
CapabilityNames["DATASET"] = "Datasets";
|
|
@@ -77,7 +78,6 @@ var CapabilityNames;
|
|
|
77
78
|
CapabilityNames["PROFILE"] = "Profiles";
|
|
78
79
|
CapabilityNames["QUERY"] = "Queries";
|
|
79
80
|
CapabilityNames["REQUEST"] = "Requests";
|
|
80
|
-
CapabilityNames["RULESPOLICIES"] = "Rules & policies";
|
|
81
81
|
CapabilityNames["SANDBOX"] = "Sandboxes";
|
|
82
82
|
CapabilityNames["SCHEMA"] = "Schemas";
|
|
83
83
|
CapabilityNames["SEGMENT"] = "Segments";
|
|
@@ -100,6 +100,7 @@ var CapabilityIds;
|
|
|
100
100
|
CapabilityIds["ASSETS"] = "assets";
|
|
101
101
|
CapabilityIds["CLIENTPROPERTIES"] = "clientproperties";
|
|
102
102
|
CapabilityIds["COMPONENTS"] = "components";
|
|
103
|
+
CapabilityIds["CONTROLRULES"] = "controlRules";
|
|
103
104
|
CapabilityIds["DASHBOARD"] = "dashboard";
|
|
104
105
|
CapabilityIds["DATAFLOW"] = "dataflow";
|
|
105
106
|
CapabilityIds["DATASET"] = "dataset";
|
|
@@ -123,7 +124,6 @@ var CapabilityIds;
|
|
|
123
124
|
CapabilityIds["PROFILE"] = "profile";
|
|
124
125
|
CapabilityIds["QUERY"] = "query";
|
|
125
126
|
CapabilityIds["REQUEST"] = "request";
|
|
126
|
-
CapabilityIds["RULESPOLICIES"] = "rulesPolicies";
|
|
127
127
|
CapabilityIds["SANDBOX"] = "sandbox";
|
|
128
128
|
CapabilityIds["SCHEMA"] = "schema";
|
|
129
129
|
CapabilityIds["SEGMENT"] = "segment";
|
package/capabilityapi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilityapi.js","sourceRoot":"","sources":["capabilityapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAarC,iDAAiD;AACjD,IAAY,eA2CX;AA3CD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,2CAAwB,CAAA;IACxB,mCAAgB,CAAA;IAChB,2DAAwC,CAAA;IACxC,gDAA6B,CAAA;IAC7B,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,4CAAyB,CAAA;IACzB,2CAAwB,CAAA;IACxB,yCAAsB,CAAA;IACtB,uCAAoB,CAAA;IACpB,8CAA2B,CAAA;IAC3B,yDAAsC,CAAA;IACtC,+CAA4B,CAAA;IAC5B,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACzB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IACrB,iDAA8B,CAAA;IAC9B,iDAA8B,CAAA;IAC9B,wCAAqB,CAAA;IACrB,mCAAgB,CAAA;IAChB,4CAAyB,CAAA;IACzB,yCAAsB,CAAA;IACtB,mCAAgB,CAAA;IAChB,+CAA4B,CAAA;IAC5B,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,uCAAoB,CAAA;IACpB,oCAAiB,CAAA;IACjB,uCAAoB,CAAA;IACpB,
|
|
1
|
+
{"version":3,"file":"capabilityapi.js","sourceRoot":"","sources":["capabilityapi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAE5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,yCAAqC;AAarC,iDAAiD;AACjD,IAAY,eA2CX;AA3CD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,2CAAwB,CAAA;IACxB,mCAAgB,CAAA;IAChB,2DAAwC,CAAA;IACxC,gDAA6B,CAAA;IAC7B,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,4CAAyB,CAAA;IACzB,4CAAyB,CAAA;IACzB,yCAAsB,CAAA;IACtB,2CAAwB,CAAA;IACxB,yCAAsB,CAAA;IACtB,uCAAoB,CAAA;IACpB,8CAA2B,CAAA;IAC3B,yDAAsC,CAAA;IACtC,+CAA4B,CAAA;IAC5B,gCAAa,CAAA;IACb,4CAAyB,CAAA;IACzB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IACrB,iDAA8B,CAAA;IAC9B,iDAA8B,CAAA;IAC9B,wCAAqB,CAAA;IACrB,mCAAgB,CAAA;IAChB,4CAAyB,CAAA;IACzB,yCAAsB,CAAA;IACtB,mCAAgB,CAAA;IAChB,+CAA4B,CAAA;IAC5B,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,uCAAoB,CAAA;IACpB,oCAAiB,CAAA;IACjB,uCAAoB,CAAA;IACpB,wCAAqB,CAAA;IACrB,qCAAkB,CAAA;IAClB,uCAAoB,CAAA;IACpB,wDAAqC,CAAA;IACrC,uCAAoB,CAAA;IACpB,wCAAqB,CAAA;IACrB,qCAAkB,CAAA;IAClB,sDAAmC,CAAA;IACnC,yCAAsB,CAAA;AACxB,CAAC,EA3CW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA2C1B;AAED,iDAAiD;AACjD,IAAY,aA2CX;AA3CD,WAAY,aAAa;IACvB,kDAAiC,CAAA;IACjC,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,wDAAuC,CAAA;IACvC,8CAA6B,CAAA;IAC7B,4CAA2B,CAAA;IAC3B,kCAAiB,CAAA;IACjB,sDAAqC,CAAA;IACrC,0CAAyB,CAAA;IACzB,8CAA6B,CAAA;IAC7B,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,4CAA2B,CAAA;IAC3B,oDAAmC,CAAA;IACnC,4CAA2B,CAAA;IAC3B,8BAAa,CAAA;IACb,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;IAC7B,8CAA6B,CAAA;IAC7B,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,gDAA+B,CAAA;IAC/B,kCAAiB,CAAA;IACjB,8CAA6B,CAAA;IAC7B,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,sDAAqC,CAAA;IACrC,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,gDAA+B,CAAA;IAC/B,sCAAqB,CAAA;AACvB,CAAC,EA3CW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA2CxB;AAUD,MAAM,aAAa,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC,EAAE;QACZ,OAAO,gBAAO,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;CACe,CAAC;AAEnB,kBAAe,aAAa,CAAC"}
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
* [PROJECT\_FIREFLY\_APPS](appapi.appids.md#project_firefly_apps)
|
|
49
49
|
* [PROJECT\_HUMMINGBIRD](appapi.appids.md#project_hummingbird)
|
|
50
50
|
* [PROJECT\_SIERRA](appapi.appids.md#project_sierra)
|
|
51
|
-
* [REPORT\_SUITE\_MAPPING](appapi.appids.md#report_suite_mapping)
|
|
52
51
|
* [SOFTWARE\_DISTRIBUTION](appapi.appids.md#software_distribution)
|
|
53
52
|
* [SYSTEM\_STATUS](appapi.appids.md#system_status)
|
|
54
53
|
* [TARGET](appapi.appids.md#target)
|
|
@@ -296,12 +295,6 @@ ___
|
|
|
296
295
|
|
|
297
296
|
___
|
|
298
297
|
|
|
299
|
-
### REPORT\_SUITE\_MAPPING
|
|
300
|
-
|
|
301
|
-
• **REPORT\_SUITE\_MAPPING**: = "reportSuiteMapping"
|
|
302
|
-
|
|
303
|
-
___
|
|
304
|
-
|
|
305
298
|
### SOFTWARE\_DISTRIBUTION
|
|
306
299
|
|
|
307
300
|
• **SOFTWARE\_DISTRIBUTION**: = "softwareDistribution"
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* [ASSETS](capabilityapi.capabilityids.md#assets)
|
|
18
18
|
* [CLIENTPROPERTIES](capabilityapi.capabilityids.md#clientproperties)
|
|
19
19
|
* [COMPONENTS](capabilityapi.capabilityids.md#components)
|
|
20
|
+
* [CONTROLRULES](capabilityapi.capabilityids.md#controlrules)
|
|
20
21
|
* [DASHBOARD](capabilityapi.capabilityids.md#dashboard)
|
|
21
22
|
* [DATAFLOW](capabilityapi.capabilityids.md#dataflow)
|
|
22
23
|
* [DATASET](capabilityapi.capabilityids.md#dataset)
|
|
@@ -40,7 +41,6 @@
|
|
|
40
41
|
* [PROFILE](capabilityapi.capabilityids.md#profile)
|
|
41
42
|
* [QUERY](capabilityapi.capabilityids.md#query)
|
|
42
43
|
* [REQUEST](capabilityapi.capabilityids.md#request)
|
|
43
|
-
* [RULESPOLICIES](capabilityapi.capabilityids.md#rulespolicies)
|
|
44
44
|
* [SANDBOX](capabilityapi.capabilityids.md#sandbox)
|
|
45
45
|
* [SCHEMA](capabilityapi.capabilityids.md#schema)
|
|
46
46
|
* [SEGMENT](capabilityapi.capabilityids.md#segment)
|
|
@@ -107,6 +107,12 @@ ___
|
|
|
107
107
|
|
|
108
108
|
___
|
|
109
109
|
|
|
110
|
+
### CONTROLRULES
|
|
111
|
+
|
|
112
|
+
• **CONTROLRULES**: = "controlRules"
|
|
113
|
+
|
|
114
|
+
___
|
|
115
|
+
|
|
110
116
|
### DASHBOARD
|
|
111
117
|
|
|
112
118
|
• **DASHBOARD**: = "dashboard"
|
|
@@ -245,12 +251,6 @@ ___
|
|
|
245
251
|
|
|
246
252
|
___
|
|
247
253
|
|
|
248
|
-
### RULESPOLICIES
|
|
249
|
-
|
|
250
|
-
• **RULESPOLICIES**: = "rulesPolicies"
|
|
251
|
-
|
|
252
|
-
___
|
|
253
|
-
|
|
254
254
|
### SANDBOX
|
|
255
255
|
|
|
256
256
|
• **SANDBOX**: = "sandbox"
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* [ASSETS](capabilityapi.capabilitynames.md#assets)
|
|
18
18
|
* [CLIENTPROPERTIES](capabilityapi.capabilitynames.md#clientproperties)
|
|
19
19
|
* [COMPONENTS](capabilityapi.capabilitynames.md#components)
|
|
20
|
+
* [CONTROLRULES](capabilityapi.capabilitynames.md#controlrules)
|
|
20
21
|
* [DASHBOARD](capabilityapi.capabilitynames.md#dashboard)
|
|
21
22
|
* [DATAFLOW](capabilityapi.capabilitynames.md#dataflow)
|
|
22
23
|
* [DATASET](capabilityapi.capabilitynames.md#dataset)
|
|
@@ -40,7 +41,6 @@
|
|
|
40
41
|
* [PROFILE](capabilityapi.capabilitynames.md#profile)
|
|
41
42
|
* [QUERY](capabilityapi.capabilitynames.md#query)
|
|
42
43
|
* [REQUEST](capabilityapi.capabilitynames.md#request)
|
|
43
|
-
* [RULESPOLICIES](capabilityapi.capabilitynames.md#rulespolicies)
|
|
44
44
|
* [SANDBOX](capabilityapi.capabilitynames.md#sandbox)
|
|
45
45
|
* [SCHEMA](capabilityapi.capabilitynames.md#schema)
|
|
46
46
|
* [SEGMENT](capabilityapi.capabilitynames.md#segment)
|
|
@@ -107,6 +107,12 @@ ___
|
|
|
107
107
|
|
|
108
108
|
___
|
|
109
109
|
|
|
110
|
+
### CONTROLRULES
|
|
111
|
+
|
|
112
|
+
• **CONTROLRULES**: = "Rules"
|
|
113
|
+
|
|
114
|
+
___
|
|
115
|
+
|
|
110
116
|
### DASHBOARD
|
|
111
117
|
|
|
112
118
|
• **DASHBOARD**: = "Dashboards"
|
|
@@ -245,12 +251,6 @@ ___
|
|
|
245
251
|
|
|
246
252
|
___
|
|
247
253
|
|
|
248
|
-
### RULESPOLICIES
|
|
249
|
-
|
|
250
|
-
• **RULESPOLICIES**: = "Rules & policies"
|
|
251
|
-
|
|
252
|
-
___
|
|
253
|
-
|
|
254
254
|
### SANDBOX
|
|
255
255
|
|
|
256
256
|
• **SANDBOX**: = "Sandboxes"
|
|
@@ -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)
|
|
@@ -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,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
|
package/docs/modules/root.md
CHANGED
|
@@ -22,6 +22,7 @@ Cloud.
|
|
|
22
22
|
* [Runtime](../interfaces/root.runtime.md)
|
|
23
23
|
* [RuntimeConfiguration](../interfaces/root.runtimeconfiguration.md)
|
|
24
24
|
* [UserActivityEmitter](../interfaces/root.useractivityemitter.md)
|
|
25
|
+
* [UserActivityMonitor](../interfaces/root.useractivitymonitor.md)
|
|
25
26
|
|
|
26
27
|
### Functions
|
|
27
28
|
|
package/index.js
CHANGED
|
@@ -28,6 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
__setModuleDefault(result, mod);
|
|
29
29
|
return result;
|
|
30
30
|
};
|
|
31
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
33
|
+
};
|
|
31
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
35
|
exports.init = void 0;
|
|
33
36
|
/**
|
|
@@ -37,6 +40,7 @@ exports.init = void 0;
|
|
|
37
40
|
* @preferred
|
|
38
41
|
*/
|
|
39
42
|
const Global_1 = __importStar(require("./src/Global"));
|
|
43
|
+
const version_1 = __importDefault(require("./version"));
|
|
40
44
|
/**
|
|
41
45
|
* Get the runtime object which contains all unified-shell APIs.
|
|
42
46
|
*
|
|
@@ -82,6 +86,9 @@ exports.default = runtime;
|
|
|
82
86
|
*/
|
|
83
87
|
function init(bootstrap) {
|
|
84
88
|
const callback = () => {
|
|
89
|
+
if (Global_1.default['exc-module-runtime']) {
|
|
90
|
+
Global_1.default['exc-module-runtime']['exc-app-version'] = version_1.default;
|
|
91
|
+
}
|
|
85
92
|
bootstrap(runtime());
|
|
86
93
|
};
|
|
87
94
|
if (Global_1.default['exc-module-runtime']) {
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;;;;;;;;;;;;;;;;;;;;;;;AAE5E;;;;;GAKG;AACH,uDAA6C;AAE7C,wDAAgC;AAIhC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAwB,OAAO;IAC7B,0DAA0D;IAC1D,OAAO,gBAAO,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,yCAAyC;AACpF,CAAC;AAHD,0BAGC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,IAAI,CAAC,SAAqC;IACxD,MAAM,QAAQ,GAAG,GAAS,EAAE;QAC1B,IAAI,gBAAM,CAAC,oBAAoB,CAAC,EAAE;YAChC,gBAAM,CAAC,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,GAAG,iBAAO,CAAC;SAC3D;QACD,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC;IACvB,CAAC,CAAC;IACF,IAAI,gBAAM,CAAC,oBAAoB,CAAC,EAAE;QAChC,QAAQ,EAAE,CAAC;KACZ;SAAM;QACL,gBAAM,CAAC,YAAY,GAAG,QAAQ,CAAC;KAChC;AACH,CAAC;AAZD,oBAYC"}
|
package/internal.d.ts
CHANGED
|
@@ -33,6 +33,13 @@ export interface PollerHandle {
|
|
|
33
33
|
export interface UserActivityEmitter extends EventEmitter {
|
|
34
34
|
activityEvents: string[];
|
|
35
35
|
}
|
|
36
|
+
export interface UserActivityMonitor extends EventEmitter {
|
|
37
|
+
active: boolean;
|
|
38
|
+
configure: (config: PollingConfiguration) => void;
|
|
39
|
+
hidden: boolean;
|
|
40
|
+
lastActive: number;
|
|
41
|
+
registerActivityEmitter(emitter: UserActivityEmitter): void;
|
|
42
|
+
}
|
|
36
43
|
export interface PollingConfiguration {
|
|
37
44
|
inactivityTimeoutSec?: number;
|
|
38
45
|
pollWhileInactive?: boolean;
|
|
@@ -47,6 +54,7 @@ export interface InternalApi {
|
|
|
47
54
|
configureNetwork(config: NetworkConfiguration): void;
|
|
48
55
|
configurePolling(config: PollingConfiguration): Promise<void>;
|
|
49
56
|
flush(): Promise<number>;
|
|
57
|
+
getActivityMonitor(): Promise<UserActivityMonitor>;
|
|
50
58
|
registerActivityEmitter(emitter: UserActivityEmitter): Promise<void>;
|
|
51
59
|
removePoller(handle: PollerHandle): Promise<void>;
|
|
52
60
|
setApplication(app: Application): void;
|
|
@@ -62,6 +70,7 @@ export declare class Internal {
|
|
|
62
70
|
static configureNetwork(config: NetworkConfiguration): void;
|
|
63
71
|
static configurePolling(config: PollingConfiguration): Promise<void>;
|
|
64
72
|
static flush(): Promise<number>;
|
|
73
|
+
static getActivityMonitor(): Promise<UserActivityMonitor>;
|
|
65
74
|
static registerActivityEmitter(emitter: UserActivityEmitter): Promise<void>;
|
|
66
75
|
static removePoller(handle: PollerHandle): Promise<void>;
|
|
67
76
|
static setApplication(app: Application): void;
|
package/internal.js
CHANGED
|
@@ -31,6 +31,9 @@ class Internal {
|
|
|
31
31
|
static flush() {
|
|
32
32
|
return Global_1.getImpl('internal').flush();
|
|
33
33
|
}
|
|
34
|
+
static getActivityMonitor() {
|
|
35
|
+
return Global_1.getImpl('internal').getActivityMonitor();
|
|
36
|
+
}
|
|
34
37
|
static registerActivityEmitter(emitter) {
|
|
35
38
|
return Global_1.getImpl('internal').registerActivityEmitter(emitter);
|
|
36
39
|
}
|
package/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["internal.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAQ5E,yCAA8C;
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["internal.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AAQ5E,yCAA8C;AAuD9C;;GAEG;AACH,MAAa,QAAQ;IACZ,MAAM,CAAC,SAAS,CAAC,MAAc;QACpC,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC/C,CAAC;IACM,MAAM,CAAC,gBAAgB,CAAC,MAA6B;QAC1D,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IACM,MAAM,CAAC,gBAAgB,CAAC,MAA4B;QACzD,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IACM,MAAM,CAAC,gBAAgB,CAAC,MAA4B;QACzD,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IACM,MAAM,CAAC,KAAK;QACjB,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAC;IACrC,CAAC;IACM,MAAM,CAAC,kBAAkB;QAC9B,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,kBAAkB,EAAE,CAAC;IAClD,CAAC;IACM,MAAM,CAAC,uBAAuB,CAAC,OAA4B;QAChE,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;IAC9D,CAAC;IACM,MAAM,CAAC,YAAY,CAAC,MAAoB;QAC7C,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAClD,CAAC;IACM,MAAM,CAAC,cAAc,CAAC,GAAgB;QAC3C,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IACjD,CAAC;IACM,MAAM,CAAC,SAAS,CAAC,cAA4C;QAClE,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACvD,CAAC;IACM,MAAM,CAAC,OAAO,CAAC,IAAU,EAAE,OAAgB;QAChD,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;IACM,MAAM,CAAC,SAAS,CAAC,OAAgB;QACtC,OAAO,gBAAO,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;CACF;AArCD,4BAqCC"}
|
package/package.json
CHANGED
package/src/Global.d.ts
CHANGED
|
@@ -56,7 +56,9 @@ export interface Modules {
|
|
|
56
56
|
readonly userProfile: UserProfileApi;
|
|
57
57
|
}
|
|
58
58
|
declare type Global = typeof window & {
|
|
59
|
-
readonly 'exc-module-runtime': Modules
|
|
59
|
+
readonly 'exc-module-runtime': Modules & {
|
|
60
|
+
'exc-app-version'?: string;
|
|
61
|
+
};
|
|
60
62
|
EXC_MR_READY: () => void;
|
|
61
63
|
};
|
|
62
64
|
/**
|
package/src/Global.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Global.js","sourceRoot":"","sources":["Global.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;
|
|
1
|
+
{"version":3,"file":"Global.js","sourceRoot":"","sources":["Global.ts"],"names":[],"mappings":";AAAA;;;;;;;;;4EAS4E;;;AA0D5E;;;;;GAKG;AACH,SAAgB,OAAO,CAA0B,UAAa;IAC5D,MAAM,GAAG,GAAI,MAAiB,CAAC,oBAAoB,CAAC,CAAC;IACrD,IAAI,CAAC,GAAG,EAAE;QACR,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACvD;IACD,OAAO,GAAG,CAAC,UAAU,CAAC,CAAC;AACzB,CAAC;AAND,0BAMC;AAED;;;;;;GAMG;AACH,SAAgB,OAAO,CAA0B,OAAU,EAAE,UAA0C;IACrG,MAAM,GAAG,GAAG,EAAgB,CAAC;IAC7B,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3B,MAAM,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;QAC/B,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE;YACd,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,IAAW,EAAE,EAAE;gBACrC,OAAQ,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAS,CAAC,GAAG,IAAI,CAAC,CAAC;YACzD,CAAC,CAAQ,CAAC;SACX;aAAM;YACL,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,WAAW,EAAE;gBACtC,GAAG,EAAE,GAAG,EAAE;oBACR,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;gBACvC,CAAC;gBACD,GAAG,EAAE,KAAK,CAAC,EAAE;oBACX,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;gBACxC,CAAC;aACF,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;IACH,OAAO,GAAG,CAAC;AACb,CAAC;AApBD,0BAoBC;AAED,kBAAgB,MAAiB,CAAC"}
|
package/tests/index.test.js
CHANGED
|
@@ -18,6 +18,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
18
18
|
__setModuleDefault(result, mod);
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
21
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
25
|
/*************************************************************************
|
|
23
26
|
* Copyright 2020 Adobe
|
|
@@ -31,6 +34,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
31
34
|
**************************************************************************/
|
|
32
35
|
const Global_1 = __importStar(require("../src/Global"));
|
|
33
36
|
const index_1 = __importStar(require("../index"));
|
|
37
|
+
const version_1 = __importDefault(require("../version"));
|
|
34
38
|
describe('index.js', () => {
|
|
35
39
|
it('throws error if module-runtime not available on page', () => {
|
|
36
40
|
Global_1.default['exc-module-runtime'] = null;
|
|
@@ -55,6 +59,7 @@ describe('index.js', () => {
|
|
|
55
59
|
index_1.init(data.bootstrap);
|
|
56
60
|
expect(spy).toBeCalledTimes(1);
|
|
57
61
|
expect(spy).toBeCalledWith(runtime);
|
|
62
|
+
expect(Global_1.default['exc-module-runtime']['exc-app-version']).toEqual(version_1.default);
|
|
58
63
|
});
|
|
59
64
|
it('allows access to runtime object', () => {
|
|
60
65
|
const expectedRuntime = {};
|
package/tests/index.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["index.test.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["index.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;4EAS4E;AAC5E,wDAAuD;AACvD,kDAAgD;AAChD,yDAAiC;AAEjC,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC7D,gBAAM,CAAC,oBAAoB,CAAS,GAAG,IAAI,CAAC;QAC7C,MAAM,CAAC,gBAAO,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAChE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2DAA2D,EAAE,GAAG,EAAE;QAClE,gBAAM,CAAC,oBAAoB,CAAS,GAAG,IAAI,CAAC;QAC7C,MAAM,SAAS,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC;QAC5B,MAAM,CAAC,gBAAM,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QAC9C,YAAI,CAAC,SAAS,CAAC,CAAC;QAChB,MAAM,CAAC,gBAAM,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC7D,MAAM,OAAO,GAAG,EAAE,CAAC;QAClB,gBAAM,CAAC,oBAAoB,CAAa,GAAG;YAC1C,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO;SACZ,CAAC;QACb,MAAM,IAAI,GAAG;YACX,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC;SACrB,CAAC;QACF,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAC1C,YAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACrB,MAAM,CAAC,GAAG,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACpC,MAAM,CAAC,gBAAM,CAAC,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAO,CAAC,CAAC;IAC3E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACzC,MAAM,eAAe,GAAG,EAAa,CAAC;QACrC,gBAAM,CAAC,oBAAoB,CAAa,GAAG;YAC1C,OAAO,EAAE,GAAG,EAAE,CAAC,eAAe;SACpB,CAAC;QACb,MAAM,CAAC,eAAO,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAE1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
/*************************************************************************
|
|
7
|
+
* Copyright 2020 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
|
+
const package_json_1 = require("../package.json");
|
|
17
|
+
const version_1 = __importDefault(require("../version"));
|
|
18
|
+
describe('version.ts', () => {
|
|
19
|
+
test('exc-app current version is being used', () => {
|
|
20
|
+
expect(version_1.default).toEqual(package_json_1.version);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=version.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.test.js","sourceRoot":"","sources":["version.test.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;4EAS4E;AAC5E,kDAAyD;AACzD,yDAAiC;AAEjC,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;IAC1B,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;QACjD,MAAM,CAAC,iBAAO,CAAC,CAAC,OAAO,CAAC,sBAAa,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/version.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*************************************************************************
|
|
2
|
+
* Copyright 2021 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
6
|
+
* accordance with the terms of the Adobe license agreement accompanying
|
|
7
|
+
* it. If you have received this file from a source other than Adobe,
|
|
8
|
+
* then your use, modification, or distribution of it requires the prior
|
|
9
|
+
* written permission of Adobe.
|
|
10
|
+
**************************************************************************/
|
|
11
|
+
declare const EXC_APP_VERSION = "1.0.0";
|
|
12
|
+
export default EXC_APP_VERSION;
|
package/version.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*************************************************************************
|
|
4
|
+
* Copyright 2021 Adobe
|
|
5
|
+
* All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this file in
|
|
8
|
+
* accordance with the terms of the Adobe license agreement accompanying
|
|
9
|
+
* it. If you have received this file from a source other than Adobe,
|
|
10
|
+
* then your use, modification, or distribution of it requires the prior
|
|
11
|
+
* written permission of Adobe.
|
|
12
|
+
**************************************************************************/
|
|
13
|
+
const EXC_APP_VERSION = '1.0.0';
|
|
14
|
+
exports.default = EXC_APP_VERSION;
|
|
15
|
+
//# sourceMappingURL=version.js.map
|
package/version.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;4EAS4E;AAC5E,MAAM,eAAe,GAAG,OAAO,CAAC;AAEhC,kBAAe,eAAe,CAAC"}
|