@openfin/fdc3-api 43.103.2 → 43.104.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/out/fdc3-api-alpha.d.ts +153 -63
- package/out/fdc3-api-beta.d.ts +153 -63
- package/out/fdc3-api-public.d.ts +153 -63
- package/out/fdc3-api.d.ts +153 -63
- package/out/fdc3-api.js +344 -762
- package/package.json +29 -24
package/out/fdc3-api.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
85
85
|
url: string;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
declare type AnalyticsOnlyCalls = '
|
|
88
|
+
declare type AnalyticsOnlyCalls = 'layout-get-stack-by-view' | 'layout-add-view' | 'layout-close-view' | `layout-controller-${string}`;
|
|
89
89
|
|
|
90
90
|
declare type AnalyticsProtocolMap = {
|
|
91
91
|
[k in AnalyticsOnlyCalls]: VoidCall;
|
|
@@ -1786,6 +1786,7 @@ declare type BaseConfig = {
|
|
|
1786
1786
|
devToolsPort?: number;
|
|
1787
1787
|
installerUI?: boolean;
|
|
1788
1788
|
runtime?: RuntimeConfig;
|
|
1789
|
+
apiDiagnostics?: boolean;
|
|
1789
1790
|
appAssets?: [
|
|
1790
1791
|
{
|
|
1791
1792
|
src: string;
|
|
@@ -3167,6 +3168,11 @@ declare type ClearCacheOption = {
|
|
|
3167
3168
|
* browser data that can be used across sessions
|
|
3168
3169
|
*/
|
|
3169
3170
|
localStorage?: boolean;
|
|
3171
|
+
/**
|
|
3172
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3173
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3174
|
+
*/
|
|
3175
|
+
windowState?: boolean;
|
|
3170
3176
|
};
|
|
3171
3177
|
|
|
3172
3178
|
/**
|
|
@@ -3209,6 +3215,11 @@ declare type ClearDataOptions = {
|
|
|
3209
3215
|
* - `origin-in-all-contexts` - Storage is matched on origin only in all contexts.
|
|
3210
3216
|
*/
|
|
3211
3217
|
originMatchingMode?: 'third-parties-included' | 'origin-in-all-contexts';
|
|
3218
|
+
/**
|
|
3219
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3220
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3221
|
+
*/
|
|
3222
|
+
windowState?: boolean;
|
|
3212
3223
|
};
|
|
3213
3224
|
|
|
3214
3225
|
/**
|
|
@@ -7051,6 +7062,16 @@ declare type IntentMetadata<TargetType = any> = {
|
|
|
7051
7062
|
*/
|
|
7052
7063
|
declare class InterApplicationBus extends Base {
|
|
7053
7064
|
Channel: Channel;
|
|
7065
|
+
/**
|
|
7066
|
+
* Event types for the InterApplicationBus.
|
|
7067
|
+
*
|
|
7068
|
+
* @remarks The `subscriber-added` and `subscriber-removed` events are disabled by default.
|
|
7069
|
+
* To re-enable them, launch the runtime with the `--emit-legacy-iab-events` flag.
|
|
7070
|
+
* These events will be removed in a future version. Use {@link Channel} for connection
|
|
7071
|
+
* lifecycle management instead.
|
|
7072
|
+
*
|
|
7073
|
+
* @deprecated Use {@link Channel} `onConnection` / `onDisconnection` instead.
|
|
7074
|
+
*/
|
|
7054
7075
|
events: {
|
|
7055
7076
|
subscriberAdded: string;
|
|
7056
7077
|
subscriberRemoved: string;
|
|
@@ -10965,6 +10986,9 @@ declare namespace OpenFin {
|
|
|
10965
10986
|
SystemProcessInfo,
|
|
10966
10987
|
ClearCacheOption,
|
|
10967
10988
|
ClearDataOptions,
|
|
10989
|
+
TraceConfig,
|
|
10990
|
+
TraceCategoriesAndOptions,
|
|
10991
|
+
TraceBufferUsage,
|
|
10968
10992
|
CookieInfo,
|
|
10969
10993
|
CookieOption,
|
|
10970
10994
|
CrashReporterOptions,
|
|
@@ -13637,19 +13661,17 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13637
13661
|
response: OpenFin.MenuResult;
|
|
13638
13662
|
};
|
|
13639
13663
|
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
13640
|
-
'wrap-application': VoidCall;
|
|
13641
|
-
'wrap-application-sync': VoidCall;
|
|
13642
13664
|
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
13643
|
-
'application-create': VoidCall;
|
|
13644
|
-
'start-application': VoidCall;
|
|
13645
13665
|
'run-applications': ApiCall<{
|
|
13646
13666
|
applications: Array<OpenFin.ManifestInfo>;
|
|
13647
13667
|
opts?: OpenFin.RvmLaunchOptions;
|
|
13648
13668
|
}, void>;
|
|
13649
|
-
'
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
13669
|
+
'send-analytics-batch': {
|
|
13670
|
+
request: {
|
|
13671
|
+
counts: Record<string, number>;
|
|
13672
|
+
};
|
|
13673
|
+
response: void;
|
|
13674
|
+
};
|
|
13653
13675
|
'request-external-authorization': {
|
|
13654
13676
|
request: any;
|
|
13655
13677
|
response: void;
|
|
@@ -13768,10 +13790,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13768
13790
|
options: OpenFin.UpdatableViewOptions;
|
|
13769
13791
|
}>;
|
|
13770
13792
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
13771
|
-
'view-wrap-sync': VoidCall;
|
|
13772
|
-
'view-wrap': VoidCall;
|
|
13773
|
-
'view-get-current': VoidCall;
|
|
13774
|
-
'view-get-current-sync': VoidCall;
|
|
13775
13793
|
'animate-window': IdentityCall<{
|
|
13776
13794
|
transitions: OpenFin.Transition;
|
|
13777
13795
|
options: OpenFin.TransitionOptions;
|
|
@@ -13863,11 +13881,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13863
13881
|
};
|
|
13864
13882
|
response: void;
|
|
13865
13883
|
};
|
|
13866
|
-
'window-wrap': VoidCall;
|
|
13867
|
-
'window-wrap-sync': VoidCall;
|
|
13868
|
-
'create-window': VoidCall;
|
|
13869
|
-
'get-current-window': VoidCall;
|
|
13870
|
-
'get-current-window-sync': VoidCall;
|
|
13871
13884
|
'show-download-bubble': IdentityCall<{
|
|
13872
13885
|
anchor?: OpenFin.Anchor;
|
|
13873
13886
|
}, void>;
|
|
@@ -13875,14 +13888,8 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13875
13888
|
anchor: OpenFin.Anchor;
|
|
13876
13889
|
}, void>;
|
|
13877
13890
|
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
13878
|
-
'external-application-wrap': VoidCall;
|
|
13879
|
-
'external-application-wrap-sync': VoidCall;
|
|
13880
13891
|
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
13881
13892
|
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
13882
|
-
'frame-wrap': VoidCall;
|
|
13883
|
-
'frame-wrap-sync': VoidCall;
|
|
13884
|
-
'frame-get-current': VoidCall;
|
|
13885
|
-
'frame-get-current-sync': VoidCall;
|
|
13886
13893
|
'global-hotkey-register': {
|
|
13887
13894
|
request: {
|
|
13888
13895
|
hotkey: string;
|
|
@@ -13975,6 +13982,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13975
13982
|
}, OpenFin.NativeTheme>;
|
|
13976
13983
|
'get-theme-preferences': GetterCall<OpenFin.NativeTheme>;
|
|
13977
13984
|
'get-version': GetterCall<string>;
|
|
13985
|
+
'content-tracing-get-categories': GetterCall<string[]>;
|
|
13986
|
+
'content-tracing-start-recording': ApiCall<{
|
|
13987
|
+
options: OpenFin.TraceConfig | OpenFin.TraceCategoriesAndOptions;
|
|
13988
|
+
}, void>;
|
|
13989
|
+
'content-tracing-stop-recording': GetterCall<string>;
|
|
13990
|
+
'content-tracing-get-trace-buffer-usage': GetterCall<OpenFin.TraceBufferUsage>;
|
|
13978
13991
|
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
13979
13992
|
'clear-http-cache': VoidCall;
|
|
13980
13993
|
'clear-cache-data': ApiCall<OpenFin.ClearDataOptions, void>;
|
|
@@ -14219,7 +14232,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
14219
14232
|
apiPath: '.resolveDomainSettings';
|
|
14220
14233
|
namespace: 'System';
|
|
14221
14234
|
};
|
|
14222
|
-
'system-register-shutdown-handler': VoidCall;
|
|
14223
14235
|
'get-permissions': GetterCall<any>;
|
|
14224
14236
|
'refresh-extensions': {
|
|
14225
14237
|
request: void;
|
|
@@ -14238,24 +14250,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
14238
14250
|
request: void;
|
|
14239
14251
|
response: Array<OpenFin.ThemePalette>;
|
|
14240
14252
|
};
|
|
14241
|
-
'fdc3-add-context-listener': VoidCall;
|
|
14242
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
14243
|
-
'fdc3-raise-intent': VoidCall;
|
|
14244
|
-
'fdc3-find-intent': VoidCall;
|
|
14245
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
14246
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
14247
|
-
'fdc3-get-info': VoidCall;
|
|
14248
|
-
'fdc3-find-instances': VoidCall;
|
|
14249
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
14250
|
-
'fdc3-broadcast': VoidCall;
|
|
14251
|
-
'fdc3-open': VoidCall;
|
|
14252
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
14253
|
-
'fdc3-get-system-channels': VoidCall;
|
|
14254
|
-
'fdc3-join-channel': VoidCall;
|
|
14255
|
-
'fdc3-get-current-channel': VoidCall;
|
|
14256
|
-
'fdc3-leave-current-channel': VoidCall;
|
|
14257
|
-
'interop-init': VoidCall;
|
|
14258
|
-
'interop-connect-sync': VoidCall;
|
|
14259
14253
|
'interop-client-set-context': VoidCall;
|
|
14260
14254
|
'interop-client-add-context-handler': VoidCall;
|
|
14261
14255
|
'interop-client-get-context-groups': VoidCall;
|
|
@@ -14286,12 +14280,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
14286
14280
|
'interop-session-context-group-set-context': VoidCall;
|
|
14287
14281
|
'interop-session-context-group-get-context': VoidCall;
|
|
14288
14282
|
'interop-session-context-group-add-handler': VoidCall;
|
|
14289
|
-
'platform-wrap': VoidCall;
|
|
14290
|
-
'platform-wrap-sync': VoidCall;
|
|
14291
|
-
'platform-get-current': VoidCall;
|
|
14292
|
-
'platform-get-current-sync': VoidCall;
|
|
14293
|
-
'platform-start': VoidCall;
|
|
14294
|
-
'platform-start-from-manifest': VoidCall;
|
|
14295
14283
|
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
14296
14284
|
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
14297
14285
|
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
@@ -14304,11 +14292,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
14304
14292
|
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
14305
14293
|
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
14306
14294
|
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
14307
|
-
'layout-wrap': VoidCall;
|
|
14308
|
-
'layout-wrap-sync': VoidCall;
|
|
14309
|
-
'layout-get-current': VoidCall;
|
|
14310
|
-
'layout-get-current-sync': VoidCall;
|
|
14311
|
-
'layout-init': VoidCall;
|
|
14312
14295
|
'layout-get-config': VoidCall;
|
|
14313
14296
|
'layout-get-views': VoidCall;
|
|
14314
14297
|
'layout-replace': VoidCall;
|
|
@@ -14327,12 +14310,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
14327
14310
|
'layout-controller-create-adjacent-stack': VoidCall;
|
|
14328
14311
|
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
14329
14312
|
'layout-controller-set-stack-active-view': VoidCall;
|
|
14330
|
-
'snapshot-source-init': VoidCall;
|
|
14331
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
14332
|
-
'snapshot-source-wrap': VoidCall;
|
|
14333
|
-
'snapshot-source-ready': VoidCall;
|
|
14334
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
14335
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
14336
14313
|
'capture-page': IdentityCall<{
|
|
14337
14314
|
options?: OpenFin.CapturePageOptions;
|
|
14338
14315
|
}, string>;
|
|
@@ -15567,6 +15544,10 @@ declare type SubscriptionOptions = {
|
|
|
15567
15544
|
*
|
|
15568
15545
|
*/
|
|
15569
15546
|
declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
15547
|
+
/**
|
|
15548
|
+
* Chromium content tracing APIs.
|
|
15549
|
+
*/
|
|
15550
|
+
readonly ContentTracing: SystemContentTracing;
|
|
15570
15551
|
/**
|
|
15571
15552
|
* @internal
|
|
15572
15553
|
*/
|
|
@@ -15593,13 +15574,15 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15593
15574
|
* * cookies: browser [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
|
|
15594
15575
|
* * localStorage: browser data that can be used across sessions ([local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage))
|
|
15595
15576
|
* * appcache: html5 [application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache)
|
|
15577
|
+
* * windowState: clears data written for windows using `saveWindowState`; after clearing, previously saved bounds and state will not be restored until new state is written
|
|
15596
15578
|
* @example
|
|
15597
15579
|
* ```js
|
|
15598
15580
|
* const clearCacheOptions = {
|
|
15599
15581
|
* appcache: true,
|
|
15600
15582
|
* cache: true,
|
|
15601
15583
|
* cookies: true,
|
|
15602
|
-
* localStorage: true
|
|
15584
|
+
* localStorage: true,
|
|
15585
|
+
* windowState: true
|
|
15603
15586
|
* };
|
|
15604
15587
|
* fin.System.clearCache(clearCacheOptions).then(() => console.log('Cache cleared')).catch(err => console.log(err));
|
|
15605
15588
|
* ```
|
|
@@ -15624,12 +15607,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15624
15607
|
*
|
|
15625
15608
|
* @param options - Optional configuration for what data to clear
|
|
15626
15609
|
*
|
|
15610
|
+
* @remarks Set `windowState: true` to also clear data written for windows using `saveWindowState`.
|
|
15611
|
+
* After this data is cleared, previously saved bounds and state will not be restored until new state is written again.
|
|
15612
|
+
*
|
|
15627
15613
|
* @example
|
|
15628
15614
|
* ```js
|
|
15629
15615
|
* // Clear only cookies and localStorage for a specific origin
|
|
15630
15616
|
* await fin.System.clearCacheData({
|
|
15631
15617
|
* dataTypes: ['cookies', 'localStorage'],
|
|
15632
|
-
* origins: ['http://localhost:8081']
|
|
15618
|
+
* origins: ['http://localhost:8081'],
|
|
15619
|
+
* windowState: true
|
|
15633
15620
|
* });
|
|
15634
15621
|
*
|
|
15635
15622
|
* // Clear everything except for a specific origin
|
|
@@ -17203,6 +17190,36 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
17203
17190
|
getThemePalette(): Promise<Array<OpenFin.ThemePalette>>;
|
|
17204
17191
|
}
|
|
17205
17192
|
|
|
17193
|
+
/**
|
|
17194
|
+
* Chromium content tracing APIs exposed under `fin.System.ContentTracing`.
|
|
17195
|
+
*/
|
|
17196
|
+
declare class SystemContentTracing extends Base {
|
|
17197
|
+
/**
|
|
17198
|
+
* Gets the currently known tracing category groups.
|
|
17199
|
+
*/
|
|
17200
|
+
getCategories(): Promise<string[]>;
|
|
17201
|
+
/**
|
|
17202
|
+
* Starts content tracing across runtime processes.
|
|
17203
|
+
*
|
|
17204
|
+
* Only one content tracing session may be active across the runtime at a time.
|
|
17205
|
+
* This method rejects if another identity already owns the active session.
|
|
17206
|
+
*/
|
|
17207
|
+
startRecording(options: OpenFin.TraceConfig | OpenFin.TraceCategoriesAndOptions): Promise<void>;
|
|
17208
|
+
/**
|
|
17209
|
+
* Stops the active content tracing session and writes the trace to the runtime-managed cache folder.
|
|
17210
|
+
*
|
|
17211
|
+
* The calling identity must match the identity that started the active tracing session.
|
|
17212
|
+
* This method rejects if tracing is not active or is owned by another identity.
|
|
17213
|
+
*/
|
|
17214
|
+
stopRecording(): Promise<string>;
|
|
17215
|
+
/**
|
|
17216
|
+
* Returns the current maximum trace buffer usage across processes.
|
|
17217
|
+
*
|
|
17218
|
+
* This method is not supported on macOS and rejects on that platform.
|
|
17219
|
+
*/
|
|
17220
|
+
getTraceBufferUsage(): Promise<OpenFin.TraceBufferUsage>;
|
|
17221
|
+
}
|
|
17222
|
+
|
|
17206
17223
|
/**
|
|
17207
17224
|
* @deprecated Renamed to {@link Event}.
|
|
17208
17225
|
*/
|
|
@@ -17649,6 +17666,76 @@ declare type Time = {
|
|
|
17649
17666
|
|
|
17650
17667
|
declare type TimeZones = 'utc' | 'local';
|
|
17651
17668
|
|
|
17669
|
+
/**
|
|
17670
|
+
* @interface
|
|
17671
|
+
* Current maximum usage across trace buffers.
|
|
17672
|
+
*/
|
|
17673
|
+
declare type TraceBufferUsage = {
|
|
17674
|
+
value: number;
|
|
17675
|
+
percentage: number;
|
|
17676
|
+
};
|
|
17677
|
+
|
|
17678
|
+
/**
|
|
17679
|
+
* @interface
|
|
17680
|
+
* Shorthand tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
17681
|
+
*/
|
|
17682
|
+
declare type TraceCategoriesAndOptions = {
|
|
17683
|
+
/**
|
|
17684
|
+
* Filter that controls which category groups should be traced.
|
|
17685
|
+
* A filter can have an optional '-' prefix to exclude category groups that contain a matching category. Having both included and excluded category patterns in the same list is not supported. Examples: test_MyTest*, test_MyTest*,test_OtherStuff, -excluded_category1,-excluded_category2.
|
|
17686
|
+
*/
|
|
17687
|
+
categoryFilter: string;
|
|
17688
|
+
/**
|
|
17689
|
+
* Comma-delimited string controlling recording mode and extra trace options. valid strings; record-until-full, record-continuously, trace-to-console, enable-sampling, enable-systrace, e.g. 'record-until-full,enable-sampling'. The first 3 options are trace recording modes and hence mutually exclusive. If more than one trace recording modes appear in the traceOptions string, the last one takes precedence. If none of the trace recording modes are specified, recording mode is record-until-full. The trace option will first be reset to the default option (record_mode set to record-until-full, enable_sampling and enable_systrace set to false) before options parsed from traceOptions are applied on it.
|
|
17690
|
+
*/
|
|
17691
|
+
traceOptions: string;
|
|
17692
|
+
};
|
|
17693
|
+
|
|
17694
|
+
/**
|
|
17695
|
+
* @interface
|
|
17696
|
+
* Structured tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
17697
|
+
*/
|
|
17698
|
+
declare type TraceConfig = {
|
|
17699
|
+
/**
|
|
17700
|
+
* Can be `record-until-full`, `record-continuously`, `record-as-much-as-possible` or `trace-to-console`.
|
|
17701
|
+
* Defaults to `record-until-full`, which will record until the trace buffer is full and then stop recording.
|
|
17702
|
+
*/
|
|
17703
|
+
recording_mode?: 'record-until-full' | 'record-continuously' | 'record-as-much-as-possible' | 'trace-to-console';
|
|
17704
|
+
/**
|
|
17705
|
+
* Maximum size of the trace recording buffer in kilobytes.
|
|
17706
|
+
*/
|
|
17707
|
+
trace_buffer_size_in_kb?: number;
|
|
17708
|
+
/**
|
|
17709
|
+
* Maximum size of the trace recording buffer in events.
|
|
17710
|
+
* Defaults to 100MB
|
|
17711
|
+
*/
|
|
17712
|
+
trace_buffer_size_in_events?: number;
|
|
17713
|
+
/**
|
|
17714
|
+
* Filters event data according to Chromium's vetted allowlist.
|
|
17715
|
+
*/
|
|
17716
|
+
enable_argument_filter?: boolean;
|
|
17717
|
+
/**
|
|
17718
|
+
* A list of tracing categories to include.
|
|
17719
|
+
*/
|
|
17720
|
+
included_categories?: string[];
|
|
17721
|
+
/**
|
|
17722
|
+
* A list of tracing categories to exclude.
|
|
17723
|
+
*/
|
|
17724
|
+
excluded_categories?: string[];
|
|
17725
|
+
/**
|
|
17726
|
+
* A list of process IDs to include in the trace.
|
|
17727
|
+
*/
|
|
17728
|
+
included_process_ids?: number[];
|
|
17729
|
+
/**
|
|
17730
|
+
* A list of histogram names to report with the trace.
|
|
17731
|
+
*/
|
|
17732
|
+
histogram_names?: string[];
|
|
17733
|
+
/**
|
|
17734
|
+
* Additional configuration for memory tracing when memory-infra tracing is enabled.
|
|
17735
|
+
*/
|
|
17736
|
+
memory_dump_config?: Record<string, any>;
|
|
17737
|
+
};
|
|
17738
|
+
|
|
17652
17739
|
/**
|
|
17653
17740
|
* @interface
|
|
17654
17741
|
*/
|
|
@@ -17717,9 +17804,12 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
17717
17804
|
sendRaw: Wire['send'];
|
|
17718
17805
|
eventAggregator: EventAggregator;
|
|
17719
17806
|
protected messageHandlers: MessageHandler[];
|
|
17720
|
-
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity
|
|
17807
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity & {
|
|
17808
|
+
apiDiagnostics?: boolean;
|
|
17809
|
+
});
|
|
17721
17810
|
getFin(): OpenFin.Fin<MeType>;
|
|
17722
17811
|
registerFin(_fin: OpenFin.Fin<MeType>): void;
|
|
17812
|
+
recordAnalytic(action: string): void;
|
|
17723
17813
|
connectSync: () => void;
|
|
17724
17814
|
getPort: () => string;
|
|
17725
17815
|
shutdown(): Promise<void>;
|