@adobe/exc-app 0.2.45 → 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.
Files changed (98) hide show
  1. package/RuntimeConfiguration.d.ts +4 -0
  2. package/appapi.d.ts +0 -1
  3. package/appapi.js +0 -1
  4. package/appapi.js.map +1 -1
  5. package/build/preBuild.js +14 -0
  6. package/capabilityapi.d.ts +2 -2
  7. package/capabilityapi.js +2 -2
  8. package/capabilityapi.js.map +1 -1
  9. package/docs/README.md +1 -0
  10. package/docs/enums/appapi.appids.md +14 -7
  11. package/docs/enums/capabilityapi.capabilityids.md +21 -0
  12. package/docs/enums/capabilityapi.capabilitynames.md +21 -0
  13. package/docs/interfaces/ims.activeproductcontext.md +13 -0
  14. package/docs/interfaces/ims.imsprofile.md +130 -0
  15. package/docs/interfaces/ims.productcontext.md +141 -0
  16. package/docs/interfaces/ims.projectedproductcontext.md +21 -0
  17. package/docs/interfaces/network.queryrequest.md +11 -0
  18. package/docs/interfaces/root.poller.md +56 -0
  19. package/docs/interfaces/root.pollerhandle.md +21 -0
  20. package/docs/interfaces/root.pollingconfiguration.md +28 -0
  21. package/docs/interfaces/root.runtimeconfiguration.md +10 -1
  22. package/docs/interfaces/root.useractivityemitter.md +110 -0
  23. package/docs/interfaces/root.useractivitymonitor.md +151 -0
  24. package/docs/interfaces/user.userapi.md +1 -1
  25. package/docs/modules/ims.md +14 -0
  26. package/docs/modules/root.md +5 -0
  27. package/docs/modules/settings.md +8 -57
  28. package/docs/modules/user.md +14 -0
  29. package/index.js +7 -0
  30. package/index.js.map +1 -1
  31. package/internal.d.ts +9 -0
  32. package/internal.js +3 -0
  33. package/internal.js.map +1 -1
  34. package/network.d.ts +0 -11
  35. package/network.js +1 -10
  36. package/network.js.map +1 -1
  37. package/package.json +5 -6
  38. package/src/Global.d.ts +3 -1
  39. package/src/Global.js.map +1 -1
  40. package/tests/index.test.js +5 -0
  41. package/tests/index.test.js.map +1 -1
  42. package/tests/version.test.d.ts +1 -0
  43. package/tests/version.test.js +23 -0
  44. package/tests/version.test.js.map +1 -0
  45. package/user.d.ts +10 -1
  46. package/user.js.map +1 -1
  47. package/{settings/SettingsLevel.ts → version.d.ts} +2 -20
  48. package/{metrics/Level.ts → version.js} +6 -20
  49. package/version.js.map +1 -0
  50. package/RuntimeConfiguration.ts +0 -272
  51. package/appapi.ts +0 -140
  52. package/capabilityapi.ts +0 -162
  53. package/helpcenter.ts +0 -253
  54. package/ims/ImsProfile.ts +0 -57
  55. package/index.ts +0 -76
  56. package/internal.ts +0 -102
  57. package/metrics/Analytics.ts +0 -55
  58. package/metrics/Application.ts +0 -24
  59. package/metrics/Configuration.ts +0 -33
  60. package/metrics/Events.ts +0 -28
  61. package/metrics/History.ts +0 -36
  62. package/metrics/Metric.ts +0 -52
  63. package/metrics/Metrics.ts +0 -129
  64. package/metrics/RecordType.ts +0 -139
  65. package/metrics/User.ts +0 -30
  66. package/metrics.ts +0 -94
  67. package/network.ts +0 -568
  68. package/nps.ts +0 -83
  69. package/orgswitcher.ts +0 -109
  70. package/page.ts +0 -497
  71. package/permissions.ts +0 -103
  72. package/pulse.ts +0 -198
  73. package/session.ts +0 -116
  74. package/settings.ts +0 -147
  75. package/shell.ts +0 -107
  76. package/sidebar.ts +0 -208
  77. package/sidenav.ts +0 -287
  78. package/src/EventEmitter.ts +0 -44
  79. package/src/Global.ts +0 -109
  80. package/src/Runtime.ts +0 -23
  81. package/tests/MockRuntime.ts +0 -28
  82. package/tests/appapi.test.ts +0 -78
  83. package/tests/capabilityapi.test.ts +0 -55
  84. package/tests/helpCenter.test.ts +0 -80
  85. package/tests/index.test.ts +0 -50
  86. package/tests/metrics.test.ts +0 -34
  87. package/tests/nps.test.ts +0 -37
  88. package/tests/page.test.ts +0 -110
  89. package/tests/permissions.test.ts +0 -96
  90. package/tests/pulse.test.ts +0 -37
  91. package/tests/shell.test.ts +0 -89
  92. package/tests/sidenav.test.ts +0 -91
  93. package/tests/topbar.test.ts +0 -85
  94. package/tests/user.test.ts +0 -129
  95. package/tests/userprofile.test.ts +0 -31
  96. package/topbar.ts +0 -288
  97. package/user.ts +0 -228
  98. package/userprofile.ts +0 -93
@@ -1,24 +0,0 @@
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
-
12
- /**
13
- * @ignore
14
- */
15
- export interface Application {
16
- id: string; // an identifier for the applicaton executable
17
- name?: string; // human-readable application title
18
- solution?: {
19
- id: string; // an identifier for the solution/subapplication
20
- name?: string; // a human-reacable solution title
21
- version?: string; // solution build version
22
- };
23
- version?: string; // build version string
24
- }
@@ -1,33 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * @ignore
14
- */
15
- export default interface Configuration {
16
- apiKey?: string;
17
- analytics?: {
18
- script: string;
19
- solution: string;
20
- version?: string;
21
- };
22
- application?: {
23
- id: string;
24
- version?: string;
25
- },
26
- batch?: boolean;
27
- deviceId?: string;
28
- environment?: string;
29
- instanceId?: string;
30
- maxPayloadSize?: number;
31
- mode?: string;
32
- user?: any;
33
- }
package/metrics/Events.ts DELETED
@@ -1,28 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * @packageDocumentation
14
- * @module metrics
15
- */
16
-
17
- /**
18
- * Named events in loading lifecycle
19
- */
20
- /**
21
- * @ignore
22
- */
23
- export enum Events {
24
- PAGE_LOAD_DONE= 'exc.metrics.pageState.load.done',
25
- PAGE_LOAD_START= 'exc.metrics.pageState.load.start',
26
- SPINNER_DONE = 'exc.metrics.pageState.spinner.done',
27
- SPINNER_START= 'exc.metrics.pageState.spinner.start'
28
- }
@@ -1,36 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * @packageDocumentation
14
- * @module metrics
15
- */
16
-
17
- /**
18
- * Defines APIs used to log history events.
19
- */
20
- export default interface History {
21
- /**
22
- * Records a history replace event.
23
- * @param path The current URL.
24
- * @param state Optional. The state associated to the event.
25
- * @param data Additional data associated to the event.
26
- */
27
- replace(path: string, state?: any, ...args: any): void;
28
-
29
- /**
30
- * Records a history push event.
31
- * @param path The current URL.
32
- * @param state Optional. The state associated to the event.
33
- * @param data Additional data associated to the event.
34
- */
35
- push(path: string, state?: any, ...args: any): void;
36
- }
package/metrics/Metric.ts DELETED
@@ -1,52 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * @packageDocumentation
14
- * @module metrics
15
- */
16
-
17
- import {Level} from './Level';
18
-
19
- /**
20
- * Defines the attribute of a metric to be logged.
21
- */
22
- export default interface Metric {
23
- /**
24
- * A long integer storage column, e.g. the value when recordType = Counter.
25
- */
26
- counter?: number;
27
-
28
- /**
29
- * An opaque (to Metrics) object for application storage.
30
- */
31
- data?: any;
32
-
33
- /**
34
- * An application-defined event.
35
- */
36
- event?: string | string[];
37
-
38
- /**
39
- * The importance of this metric, e.g. log level.
40
- */
41
- level?: Level;
42
-
43
- /**
44
- * A human-readable message, e.g. console messages.
45
- */
46
- message?: string;
47
-
48
- /**
49
- * The type of this metric record, may be application-specific.
50
- */
51
- recordType?: string;
52
- }
@@ -1,129 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * @packageDocumentation
14
- * @module metrics
15
- */
16
-
17
- import Analytics from './Analytics';
18
- import History from './History';
19
- import Metric from './Metric';
20
-
21
- /**
22
- * Defines APIs on a timer.
23
- */
24
- export interface Timer {
25
- /**
26
- * Records the elapsed time from when the timer was created by calling Metrics.start API.
27
- * @param event The name of the event being logged. The `{event: string}` form of this argument
28
- * can be used to specify the precise event name that should be recorded (the prefix supplied
29
- * at construction time is ignored).
30
- * @returns The elapsed time since the timer started, in milliseconds.
31
- */
32
- time(event: string | {event: string}, ...args: any): number;
33
- }
34
-
35
- /**
36
- * Defines metrics APIs.
37
- */
38
- export default interface Metrics {
39
- /**
40
- * The Analytics APIs are designed to mirror the Omega APIs, enabling an Analtyics record to be
41
- * remotely stored which simulatenously captures additional context provided by the Metrics system
42
- * at the same time that window.digitalData is sent to analytics. Two use cases are supported,
43
- * described as follows.
44
- *
45
- * For applications that provide Omega launch script configuration to the
46
- * `MetricsBrowserRuntime.init()` method, the corresponding portions of the digitalData object can
47
- * be supplied to the following APIs, and the Metrics SDK will store the provided object in
48
- * `window.digitalData`, and simultaneously record the Analytics record in remote storage and call
49
- * the Omega `window._satellite.track()` method. This approach assures consistency in the data
50
- * between Omega and Metrics.
51
- */
52
- analytics: Readonly<Analytics>;
53
-
54
- /**
55
- * The History APIs are designed to mirror browser history management. Calling a Metrics history
56
- * API is recommended either immediately before or after a call to window history, and will record
57
- * a History record type and begin a new page load by generating a new HistoryID guid.
58
- */
59
- history: Readonly<History>;
60
-
61
- /**
62
- * Log a debug message similar to console.debug().
63
- * @param message The message being logged.
64
- * @param args Additional data associated to the log entry.
65
- */
66
- debug(message: string, ...args: any): void;
67
-
68
- /**
69
- * Log an error message similar to console.error().
70
- * @param message The message being logged.
71
- * @param args Additional data associated to the error.
72
- */
73
- error(message: string, ...args: any): void;
74
-
75
- /**
76
- * Records the specified event.
77
- * @param event The name of the event being logged.
78
- * @param data Additional data associated to the event.
79
- */
80
- event(event: string | string[], ...args: any): void;
81
-
82
- /**
83
- * Log an informational message similar to console.info().
84
- * @param message The message being logged.
85
- * @param args Additional data associated to the log entry.
86
- */
87
- info(message: string, ...args: any): void;
88
-
89
- /**
90
- * Log an informational message similar to console.log().
91
- * @param message The message being logged.
92
- * @param args Additional data associated to the log entry.
93
- */
94
- log(message: string, args: any): void;
95
-
96
- /**
97
- * Construct a named "Recent" event and emit it to storage. The payload is expected
98
- * to contain PII so downstream handling must a) keep the data bag intact, and
99
- * b) send the Recent record (with PII) only to Unified Recents. PII must be
100
- * removed before sending to ADX.
101
- * @function
102
- * @param {string} revent The event.
103
- * @param {any} args Optional arguments to be applied to the recorded metrics.
104
- * @returns {Promise} A promise that resolves to the number of metrics that
105
- * were queued for eventual flushing.
106
- */
107
- recent(revent: string | string[], ...args: any): void;
108
-
109
- /**
110
- * Starts a named timer that can be used to record time taken for an operation.
111
- * @param name The name for the timer, which is used as a prefix for the
112
- * emitted timer events.
113
- * @param args Additional data associated to the timer.
114
- */
115
- start(name: string, ...args: any): Timer;
116
-
117
- /**
118
- * Stores the specified metric entry.
119
- * @param metric The metric to be logged.
120
- */
121
- store(metric: Metric): void;
122
-
123
- /**
124
- * Log a warning message similar to console.warn().
125
- * @param message The message being logged.
126
- * @param args Additional data associated to the log entry.
127
- */
128
- warn(message: string, ...args: any): void;
129
- }
@@ -1,139 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * RecordType is an enumeration of known telemetry records. These
14
- * record types have specified symantics and use specific columns
15
- * for each type. That said, any record type may specify any of the
16
- * known fields for the custom purpose of the application.
17
- *
18
- * All RecordTypes except User are implementations of the Metric
19
- * interface. The User RecordType is for User context changes and should
20
- * not be created direclty by clients.
21
- *
22
- * Clients may specify custom record types, however there will be no
23
- * attempt to validate any fields. Storage of custom record types may
24
- * silently fail.
25
- */
26
- export enum RecordType {
27
- /**
28
- * Analytics record type reports an Omega analtycis record. The dynamicData
29
- * object is copied from global.dynamicData.
30
- */
31
- ANALYTICS = 'Analytics',
32
-
33
- /**
34
- * Event reports an event to the system. Events are typically application-
35
- * specific enumerations. Event strings should be very stable since they
36
- * will be used for dashboards and alert queries. The recommended pattern is
37
- * to use featureArea.subject.verb, for example: shell.solutionPicker.click.
38
- *
39
- * All events starting with 'exc.metrics' are reserved for metrics system use.
40
- *
41
- * Event record types are very similar to Log record types with the main
42
- * difference being that the Event is expected to have a value for the event
43
- * property, and the message property is considered optional, whereas Log
44
- * records are expected to have a human-readable string in the message
45
- * property, and the event property is considered optional.
46
- */
47
- EVENT = 'Event',
48
-
49
- /**
50
- * Recent is an Event destined for collection by the Unified Recents team.
51
- * The data bag is expected to be prescribed yet customized for this record
52
- * type and may contain PII. As such, the payload is ingested as a Log metric
53
- * with User data. The Gateway sends the RECENT event to Unified Recents then
54
- * sends the sanitized record to ADX.
55
- */
56
- RECENT = 'Recent',
57
-
58
- /**
59
- * History reports a history change in the current window. The
60
- * window.location object will be stored in metricsState.
61
- */
62
- HISTORY = 'History',
63
-
64
- /**
65
- * Location reports a location change in the current window. Location
66
- * records should be emitted just prior to calling window location
67
- * methods to allow for flushing in case of reload. A
68
- * new historyId will be generated, and the page will be considered
69
- * 'loading'.
70
- */
71
- LOCATION = 'Location',
72
-
73
- /**
74
- * Log RecordType reports a string message at a specified log level.
75
- * A logger name is optional but highly recommended for searching
76
- * and filtering since the log message can be any string.
77
- */
78
- LOG = 'Log',
79
-
80
- /**
81
- * NetworkRequest reports the start of a network invocation, including
82
- * the url and request parameters. The metric's data property will
83
- * contain the network Request object supplied by the javascript VM.
84
- */
85
- NETWORK_REQUEST = 'NetworkRequest',
86
-
87
- /**
88
- * NetworkResponse reports the conclusion of a network invocation, which
89
- * may be an HTTP status or an outright error. The metric's data
90
- * property will contain either the Response object from the
91
- * javascritp VM, or the Error returned by the network call.
92
- */
93
- NETWORK_RESPONSE = 'NetworkResponse',
94
-
95
- /**
96
- * ResourceTiming reports the timing results of network resource requests
97
- * as reported by the Performance interface. The metric's data property
98
- * will contain the ResourceTiming object suppolied by the javascript VM.
99
- */
100
- RESOURCE_TIMING = 'ResourceTiming',
101
-
102
- /**
103
- * PaintTiming reports the paint timing results as supplied by
104
- * the Performance interface from the javascript VM. The PaintTiming
105
- * object is stored in the metric's data property.
106
- */
107
- PAINT_TIMING = 'PaintTiming',
108
-
109
- /**
110
- * NavigationTiming reports the timing results of navigation events
111
- * emitted from the javascript VM. The NavigationTiming object is stored
112
- * in the metric's data property.
113
- */
114
- NAVIGATION_TIMING = 'NavigationTiming',
115
-
116
- /**
117
- * Timer reports the elapsed time between events. The duration property
118
- * records the elapsed time since construction - the timer "starts" at
119
- * construction. Timers are typically constructed using the start()
120
- * method on an instance of Metrics. It is also possible to construct
121
- * a new Timer object direclty, in which case a logger-style name for
122
- * the timer is highly recommended to aid searching and filtering.
123
- */
124
- TIMER = 'Timer',
125
-
126
- /**
127
- * Tracer is a reserved RecordType for monitoring system health. It should
128
- * not be used by clients.
129
- */
130
- TRACER = 'Tracer',
131
-
132
- /**
133
- * The User RecordType reports changes in the current user's login
134
- * status and current effective group. This record type should not
135
- * be used direclty. Instead, use the setUser() and clearUser()
136
- * methods.
137
- */
138
- USER = 'User'
139
- }
package/metrics/User.ts DELETED
@@ -1,30 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
- import Metric from './Metric';
12
-
13
- /**
14
- * @ignore
15
- */
16
- export default interface User extends Metric {
17
- accountType?: string; // Analytics Data Layer: The account level of the user for your given product.
18
- attributes?: any; // Analytics Data Layer: additional values stored in key:value pairs with the value ALWAYS being strings.
19
- authOrigin?: string; // Analytics Data Layer: The origin of where the user logged in or "anonymous" if the user is not logged in.
20
- authSystem?: string; // Analytics Data Layer: The system used to provide the user.id and user.corpId.
21
- displayName?: string; // firstname lastname - for convenience in viewing/searching
22
- groupId?: string; // user's group identifier, e.g. currently selected IMS org, or a solution user group
23
- groupName?: string; // current effective group for the user, e.g. current IMS org, for viewing/searching
24
- ipAddress?: string; // as viewed by the metrics gateway - an indicator of the user's location
25
- language?: string; // Analytics Data Layer: The language/locale setting the user has currently selected within the UI.
26
- privileges?: string[]; // Analytics Data Layer: Privileges that the user currently has access to as relating to the product as a whole.
27
- sessionId?: string; // user's session identifier, e.g. IMS session or browser session header/cookie
28
- userAgent?: string; // a client identifier, e.g. the User-Agent request header
29
- userId?: string; // user's login string, e.g. AdobeId or username, as submitted to the auth system
30
- }
package/metrics.ts DELETED
@@ -1,94 +0,0 @@
1
- /*************************************************************************
2
- * Copyright 2020 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
-
12
- /**
13
- * API used to log messages, errors, events, metrics and analytics that get pushed to our telemetry
14
- * system.
15
- *
16
- * The main goal of this project is to provide solutions that are integrating with Unified-Shell and
17
- * running on Adobe Experience Cloud as much telemetry information as possible "for free" and a
18
- * convenient integration option to collect custom, application specific metrics.
19
- *
20
- * ***Import:***
21
- *
22
- * ```typescript
23
- * import metrics from '@adobe/exc-app/metrics';
24
- * ```
25
- *
26
- * ***Type:***
27
- *
28
- * [MetricsApi](../interfaces/metrics.metricsapi.md#interface-metricsapi)
29
- *
30
- * ***Usage:***
31
- *
32
- * ```typescript
33
- * import metrics from '@adobe/exc-app/metrics';
34
- *
35
- * class MyClass {
36
- * constructor() {
37
- * this.metrics = metrics.create('exc.landing-page.recents');
38
- * }
39
- *
40
- * async someOperation() {
41
- * const timer = this.metrics.start('MyClass.someOperation');
42
- * try {
43
- * await performOperation();
44
- * timer.time('done');
45
- * } catch(err) {
46
- * this.metrics.error(error);
47
- * throw err;
48
- * }
49
- * }
50
- * }
51
- * ```
52
- * @packageDocumentation
53
- * @module metrics
54
- * @preferred
55
- */
56
-
57
- import {connect} from './src/Global';
58
- import {Events} from './metrics/Events';
59
- import {Level} from './metrics/Level';
60
- import Metric from './metrics/Metric';
61
- import Metrics from './metrics/Metrics';
62
-
63
- /**
64
- * Defines the metrics API.
65
- */
66
- export interface MetricsApi {
67
- /**
68
- * Creates a metrics instance for the specified component to log entries and events.
69
- * @param name The name of the component.
70
- */
71
- create(name: string): Readonly<Metrics>;
72
- }
73
-
74
- const api = connect('metrics', [
75
- ['create', true]
76
- ]) as MetricsApi;
77
-
78
- export default api;
79
-
80
- /**
81
- * @ignore
82
- */
83
- export {
84
- Events,
85
- Level
86
- };
87
-
88
- /**
89
- * @ignore
90
- */
91
- export type {
92
- Metric,
93
- Metrics
94
- };