@interopio/browser-platform 3.3.5-next.0 → 3.3.6
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/browser.platform.d.ts
CHANGED
|
@@ -81,84 +81,6 @@ export namespace IOConnectBrowserPlatform {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
/**
|
|
85
|
-
* Configuration for publishing OpenTelemetry data and settings for the published data items.
|
|
86
|
-
*/
|
|
87
|
-
export namespace Otel {
|
|
88
|
-
/**
|
|
89
|
-
* Configuration for publishing OpenTelemetry data.
|
|
90
|
-
*/
|
|
91
|
-
export interface Config {
|
|
92
|
-
/**
|
|
93
|
-
* Settings for publishing OpenTelemetry metrics.
|
|
94
|
-
*/
|
|
95
|
-
metrics?: MetricsDefinition;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Settings for publishing OpenTelemetry metrics.
|
|
100
|
-
*/
|
|
101
|
-
export interface MetricsDefinition {
|
|
102
|
-
/**
|
|
103
|
-
* URL pointing to an OpenTelemetry metrics server.
|
|
104
|
-
*/
|
|
105
|
-
url: string;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Interval in milliseconds at which to publish the generated metrics.
|
|
109
|
-
* @default 30000
|
|
110
|
-
*/
|
|
111
|
-
publishInterval?: number;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Definitions of the OpenTelemetry metrics to publish.
|
|
115
|
-
*/
|
|
116
|
-
metrics?: MetricDefinition[];
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Definition of an OpenTelemetry metric.
|
|
121
|
-
*/
|
|
122
|
-
export interface MetricDefinition {
|
|
123
|
-
/**
|
|
124
|
-
* If `true`, will enable publishing of the OpenTelemetry metric.
|
|
125
|
-
*/
|
|
126
|
-
enabled?: boolean;
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Name for the OpenTelemetry metric. May be used in visualization tools.
|
|
130
|
-
*/
|
|
131
|
-
name?: string;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Description for the OpenTelemetry metric.
|
|
135
|
-
*/
|
|
136
|
-
description?: string;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Specify explicit bucket boundaries for the OpenTelemetry SDK if the metric has been created by a `HistogramAggregator`.
|
|
140
|
-
*/
|
|
141
|
-
buckets?: number[];
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Type of the predefined OpenTelemetry metric.
|
|
145
|
-
*/
|
|
146
|
-
type:
|
|
147
|
-
"app_started" |
|
|
148
|
-
"app_stopped" |
|
|
149
|
-
"app_startup" |
|
|
150
|
-
"app_count" |
|
|
151
|
-
"app_duration" |
|
|
152
|
-
"app_error" |
|
|
153
|
-
"layout_startup" |
|
|
154
|
-
"workspace_startup" |
|
|
155
|
-
"workspace_stopped" |
|
|
156
|
-
"workspace_count" |
|
|
157
|
-
"platform_startup" |
|
|
158
|
-
"platform_error"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
84
|
export namespace ServiceWorker {
|
|
163
85
|
export interface Config {
|
|
164
86
|
url?: string;
|
|
@@ -299,6 +221,10 @@ export namespace IOConnectBrowserPlatform {
|
|
|
299
221
|
flags: string;
|
|
300
222
|
}
|
|
301
223
|
|
|
224
|
+
export interface IFramePermissionsPolicyConfig {
|
|
225
|
+
flags: string;
|
|
226
|
+
}
|
|
227
|
+
|
|
302
228
|
export interface Config {
|
|
303
229
|
src: string;
|
|
304
230
|
hibernation?: HibernationConfig;
|
|
@@ -306,7 +232,8 @@ export namespace IOConnectBrowserPlatform {
|
|
|
306
232
|
isFrame?: boolean;
|
|
307
233
|
initAsEmpty?: boolean;
|
|
308
234
|
frameCache?: boolean;
|
|
309
|
-
iframeSandbox?: IFrameSandboxConfig
|
|
235
|
+
iframeSandbox?: IFrameSandboxConfig;
|
|
236
|
+
iframePermissionsPolicy?: IFramePermissionsPolicyConfig;
|
|
310
237
|
}
|
|
311
238
|
}
|
|
312
239
|
|
|
@@ -386,7 +313,6 @@ export namespace IOConnectBrowserPlatform {
|
|
|
386
313
|
user?: User.Config;
|
|
387
314
|
environment?: any;
|
|
388
315
|
applicationPreferences?: Prefs.Config;
|
|
389
|
-
otel?: Otel.Config;
|
|
390
316
|
browserFactory?: (config?: IOConnectBrowser.Config) => Promise<IOConnectBrowser.API>;
|
|
391
317
|
}
|
|
392
318
|
|