@openfin/core 43.103.3 → 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/mock-alpha.d.ts +153 -63
- package/out/mock-beta.d.ts +153 -63
- package/out/mock-public.d.ts +153 -63
- package/out/stub.d.ts +153 -63
- package/out/stub.js +4101 -5545
- package/package.json +41 -36
package/out/mock-public.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
88
88
|
url: string;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
declare type AnalyticsOnlyCalls = '
|
|
91
|
+
declare type AnalyticsOnlyCalls = 'layout-get-stack-by-view' | 'layout-add-view' | 'layout-close-view' | `layout-controller-${string}`;
|
|
92
92
|
|
|
93
93
|
declare type AnalyticsProtocolMap = {
|
|
94
94
|
[k in AnalyticsOnlyCalls]: VoidCall;
|
|
@@ -1757,6 +1757,7 @@ declare type BaseConfig = {
|
|
|
1757
1757
|
devToolsPort?: number;
|
|
1758
1758
|
installerUI?: boolean;
|
|
1759
1759
|
runtime?: RuntimeConfig;
|
|
1760
|
+
apiDiagnostics?: boolean;
|
|
1760
1761
|
appAssets?: [
|
|
1761
1762
|
{
|
|
1762
1763
|
src: string;
|
|
@@ -3114,6 +3115,11 @@ declare type ClearCacheOption = {
|
|
|
3114
3115
|
* browser data that can be used across sessions
|
|
3115
3116
|
*/
|
|
3116
3117
|
localStorage?: boolean;
|
|
3118
|
+
/**
|
|
3119
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3120
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3121
|
+
*/
|
|
3122
|
+
windowState?: boolean;
|
|
3117
3123
|
};
|
|
3118
3124
|
|
|
3119
3125
|
/**
|
|
@@ -3156,6 +3162,11 @@ declare type ClearDataOptions = {
|
|
|
3156
3162
|
* - `origin-in-all-contexts` - Storage is matched on origin only in all contexts.
|
|
3157
3163
|
*/
|
|
3158
3164
|
originMatchingMode?: 'third-parties-included' | 'origin-in-all-contexts';
|
|
3165
|
+
/**
|
|
3166
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3167
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3168
|
+
*/
|
|
3169
|
+
windowState?: boolean;
|
|
3159
3170
|
};
|
|
3160
3171
|
|
|
3161
3172
|
/**
|
|
@@ -6615,6 +6626,16 @@ declare type IntentMetadata<TargetType = any> = {
|
|
|
6615
6626
|
*/
|
|
6616
6627
|
declare class InterApplicationBus extends Base {
|
|
6617
6628
|
Channel: Channel;
|
|
6629
|
+
/**
|
|
6630
|
+
* Event types for the InterApplicationBus.
|
|
6631
|
+
*
|
|
6632
|
+
* @remarks The `subscriber-added` and `subscriber-removed` events are disabled by default.
|
|
6633
|
+
* To re-enable them, launch the runtime with the `--emit-legacy-iab-events` flag.
|
|
6634
|
+
* These events will be removed in a future version. Use {@link Channel} for connection
|
|
6635
|
+
* lifecycle management instead.
|
|
6636
|
+
*
|
|
6637
|
+
* @deprecated Use {@link Channel} `onConnection` / `onDisconnection` instead.
|
|
6638
|
+
*/
|
|
6618
6639
|
events: {
|
|
6619
6640
|
subscriberAdded: string;
|
|
6620
6641
|
subscriberRemoved: string;
|
|
@@ -10289,6 +10310,9 @@ declare namespace OpenFin_2 {
|
|
|
10289
10310
|
SystemProcessInfo,
|
|
10290
10311
|
ClearCacheOption,
|
|
10291
10312
|
ClearDataOptions,
|
|
10313
|
+
TraceConfig,
|
|
10314
|
+
TraceCategoriesAndOptions,
|
|
10315
|
+
TraceBufferUsage,
|
|
10292
10316
|
CookieInfo,
|
|
10293
10317
|
CookieOption,
|
|
10294
10318
|
CrashReporterOptions,
|
|
@@ -12880,19 +12904,17 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12880
12904
|
response: OpenFin_2.MenuResult;
|
|
12881
12905
|
};
|
|
12882
12906
|
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12883
|
-
'wrap-application': VoidCall;
|
|
12884
|
-
'wrap-application-sync': VoidCall;
|
|
12885
12907
|
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
|
12886
|
-
'application-create': VoidCall;
|
|
12887
|
-
'start-application': VoidCall;
|
|
12888
12908
|
'run-applications': ApiCall<{
|
|
12889
12909
|
applications: Array<OpenFin_2.ManifestInfo>;
|
|
12890
12910
|
opts?: OpenFin_2.RvmLaunchOptions;
|
|
12891
12911
|
}, void>;
|
|
12892
|
-
'
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12912
|
+
'send-analytics-batch': {
|
|
12913
|
+
request: {
|
|
12914
|
+
counts: Record<string, number>;
|
|
12915
|
+
};
|
|
12916
|
+
response: void;
|
|
12917
|
+
};
|
|
12896
12918
|
'request-external-authorization': {
|
|
12897
12919
|
request: any;
|
|
12898
12920
|
response: void;
|
|
@@ -13011,10 +13033,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13011
13033
|
options: OpenFin_2.UpdatableViewOptions;
|
|
13012
13034
|
}>;
|
|
13013
13035
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
13014
|
-
'view-wrap-sync': VoidCall;
|
|
13015
|
-
'view-wrap': VoidCall;
|
|
13016
|
-
'view-get-current': VoidCall;
|
|
13017
|
-
'view-get-current-sync': VoidCall;
|
|
13018
13036
|
'animate-window': IdentityCall<{
|
|
13019
13037
|
transitions: OpenFin_2.Transition;
|
|
13020
13038
|
options: OpenFin_2.TransitionOptions;
|
|
@@ -13106,11 +13124,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13106
13124
|
};
|
|
13107
13125
|
response: void;
|
|
13108
13126
|
};
|
|
13109
|
-
'window-wrap': VoidCall;
|
|
13110
|
-
'window-wrap-sync': VoidCall;
|
|
13111
|
-
'create-window': VoidCall;
|
|
13112
|
-
'get-current-window': VoidCall;
|
|
13113
|
-
'get-current-window-sync': VoidCall;
|
|
13114
13127
|
'show-download-bubble': IdentityCall<{
|
|
13115
13128
|
anchor?: OpenFin_2.Anchor;
|
|
13116
13129
|
}, void>;
|
|
@@ -13118,14 +13131,8 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13118
13131
|
anchor: OpenFin_2.Anchor;
|
|
13119
13132
|
}, void>;
|
|
13120
13133
|
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
|
13121
|
-
'external-application-wrap': VoidCall;
|
|
13122
|
-
'external-application-wrap-sync': VoidCall;
|
|
13123
13134
|
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
13124
13135
|
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
13125
|
-
'frame-wrap': VoidCall;
|
|
13126
|
-
'frame-wrap-sync': VoidCall;
|
|
13127
|
-
'frame-get-current': VoidCall;
|
|
13128
|
-
'frame-get-current-sync': VoidCall;
|
|
13129
13136
|
'global-hotkey-register': {
|
|
13130
13137
|
request: {
|
|
13131
13138
|
hotkey: string;
|
|
@@ -13218,6 +13225,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13218
13225
|
}, OpenFin_2.NativeTheme>;
|
|
13219
13226
|
'get-theme-preferences': GetterCall<OpenFin_2.NativeTheme>;
|
|
13220
13227
|
'get-version': GetterCall<string>;
|
|
13228
|
+
'content-tracing-get-categories': GetterCall<string[]>;
|
|
13229
|
+
'content-tracing-start-recording': ApiCall<{
|
|
13230
|
+
options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions;
|
|
13231
|
+
}, void>;
|
|
13232
|
+
'content-tracing-stop-recording': GetterCall<string>;
|
|
13233
|
+
'content-tracing-get-trace-buffer-usage': GetterCall<OpenFin_2.TraceBufferUsage>;
|
|
13221
13234
|
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
|
13222
13235
|
'clear-http-cache': VoidCall;
|
|
13223
13236
|
'clear-cache-data': ApiCall<OpenFin_2.ClearDataOptions, void>;
|
|
@@ -13462,7 +13475,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13462
13475
|
apiPath: '.resolveDomainSettings';
|
|
13463
13476
|
namespace: 'System';
|
|
13464
13477
|
};
|
|
13465
|
-
'system-register-shutdown-handler': VoidCall;
|
|
13466
13478
|
'get-permissions': GetterCall<any>;
|
|
13467
13479
|
'refresh-extensions': {
|
|
13468
13480
|
request: void;
|
|
@@ -13481,24 +13493,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13481
13493
|
request: void;
|
|
13482
13494
|
response: Array<OpenFin_2.ThemePalette>;
|
|
13483
13495
|
};
|
|
13484
|
-
'fdc3-add-context-listener': VoidCall;
|
|
13485
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
13486
|
-
'fdc3-raise-intent': VoidCall;
|
|
13487
|
-
'fdc3-find-intent': VoidCall;
|
|
13488
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
13489
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
13490
|
-
'fdc3-get-info': VoidCall;
|
|
13491
|
-
'fdc3-find-instances': VoidCall;
|
|
13492
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
13493
|
-
'fdc3-broadcast': VoidCall;
|
|
13494
|
-
'fdc3-open': VoidCall;
|
|
13495
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
13496
|
-
'fdc3-get-system-channels': VoidCall;
|
|
13497
|
-
'fdc3-join-channel': VoidCall;
|
|
13498
|
-
'fdc3-get-current-channel': VoidCall;
|
|
13499
|
-
'fdc3-leave-current-channel': VoidCall;
|
|
13500
|
-
'interop-init': VoidCall;
|
|
13501
|
-
'interop-connect-sync': VoidCall;
|
|
13502
13496
|
'interop-client-set-context': VoidCall;
|
|
13503
13497
|
'interop-client-add-context-handler': VoidCall;
|
|
13504
13498
|
'interop-client-get-context-groups': VoidCall;
|
|
@@ -13529,12 +13523,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13529
13523
|
'interop-session-context-group-set-context': VoidCall;
|
|
13530
13524
|
'interop-session-context-group-get-context': VoidCall;
|
|
13531
13525
|
'interop-session-context-group-add-handler': VoidCall;
|
|
13532
|
-
'platform-wrap': VoidCall;
|
|
13533
|
-
'platform-wrap-sync': VoidCall;
|
|
13534
|
-
'platform-get-current': VoidCall;
|
|
13535
|
-
'platform-get-current-sync': VoidCall;
|
|
13536
|
-
'platform-start': VoidCall;
|
|
13537
|
-
'platform-start-from-manifest': VoidCall;
|
|
13538
13526
|
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
13539
13527
|
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
13540
13528
|
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
@@ -13547,11 +13535,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13547
13535
|
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
13548
13536
|
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
13549
13537
|
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
13550
|
-
'layout-wrap': VoidCall;
|
|
13551
|
-
'layout-wrap-sync': VoidCall;
|
|
13552
|
-
'layout-get-current': VoidCall;
|
|
13553
|
-
'layout-get-current-sync': VoidCall;
|
|
13554
|
-
'layout-init': VoidCall;
|
|
13555
13538
|
'layout-get-config': VoidCall;
|
|
13556
13539
|
'layout-get-views': VoidCall;
|
|
13557
13540
|
'layout-replace': VoidCall;
|
|
@@ -13570,12 +13553,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13570
13553
|
'layout-controller-create-adjacent-stack': VoidCall;
|
|
13571
13554
|
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
13572
13555
|
'layout-controller-set-stack-active-view': VoidCall;
|
|
13573
|
-
'snapshot-source-init': VoidCall;
|
|
13574
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
13575
|
-
'snapshot-source-wrap': VoidCall;
|
|
13576
|
-
'snapshot-source-ready': VoidCall;
|
|
13577
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
13578
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
13579
13556
|
'capture-page': IdentityCall<{
|
|
13580
13557
|
options?: OpenFin_2.CapturePageOptions;
|
|
13581
13558
|
}, string>;
|
|
@@ -14807,6 +14784,10 @@ declare type SubscriptionOptions = {
|
|
|
14807
14784
|
*
|
|
14808
14785
|
*/
|
|
14809
14786
|
declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14787
|
+
/**
|
|
14788
|
+
* Chromium content tracing APIs.
|
|
14789
|
+
*/
|
|
14790
|
+
readonly ContentTracing: SystemContentTracing;
|
|
14810
14791
|
/* Excluded from this release type: __constructor */
|
|
14811
14792
|
private sendExternalProcessRequest;
|
|
14812
14793
|
/**
|
|
@@ -14830,13 +14811,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14830
14811
|
* * cookies: browser [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
|
|
14831
14812
|
* * localStorage: browser data that can be used across sessions ([local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage))
|
|
14832
14813
|
* * appcache: html5 [application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache)
|
|
14814
|
+
* * windowState: clears data written for windows using `saveWindowState`; after clearing, previously saved bounds and state will not be restored until new state is written
|
|
14833
14815
|
* @example
|
|
14834
14816
|
* ```js
|
|
14835
14817
|
* const clearCacheOptions = {
|
|
14836
14818
|
* appcache: true,
|
|
14837
14819
|
* cache: true,
|
|
14838
14820
|
* cookies: true,
|
|
14839
|
-
* localStorage: true
|
|
14821
|
+
* localStorage: true,
|
|
14822
|
+
* windowState: true
|
|
14840
14823
|
* };
|
|
14841
14824
|
* fin.System.clearCache(clearCacheOptions).then(() => console.log('Cache cleared')).catch(err => console.log(err));
|
|
14842
14825
|
* ```
|
|
@@ -14861,12 +14844,16 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14861
14844
|
*
|
|
14862
14845
|
* @param options - Optional configuration for what data to clear
|
|
14863
14846
|
*
|
|
14847
|
+
* @remarks Set `windowState: true` to also clear data written for windows using `saveWindowState`.
|
|
14848
|
+
* After this data is cleared, previously saved bounds and state will not be restored until new state is written again.
|
|
14849
|
+
*
|
|
14864
14850
|
* @example
|
|
14865
14851
|
* ```js
|
|
14866
14852
|
* // Clear only cookies and localStorage for a specific origin
|
|
14867
14853
|
* await fin.System.clearCacheData({
|
|
14868
14854
|
* dataTypes: ['cookies', 'localStorage'],
|
|
14869
|
-
* origins: ['http://localhost:8081']
|
|
14855
|
+
* origins: ['http://localhost:8081'],
|
|
14856
|
+
* windowState: true
|
|
14870
14857
|
* });
|
|
14871
14858
|
*
|
|
14872
14859
|
* // Clear everything except for a specific origin
|
|
@@ -16440,6 +16427,36 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
16440
16427
|
getThemePalette(): Promise<Array<OpenFin_2.ThemePalette>>;
|
|
16441
16428
|
}
|
|
16442
16429
|
|
|
16430
|
+
/**
|
|
16431
|
+
* Chromium content tracing APIs exposed under `fin.System.ContentTracing`.
|
|
16432
|
+
*/
|
|
16433
|
+
declare class SystemContentTracing extends Base {
|
|
16434
|
+
/**
|
|
16435
|
+
* Gets the currently known tracing category groups.
|
|
16436
|
+
*/
|
|
16437
|
+
getCategories(): Promise<string[]>;
|
|
16438
|
+
/**
|
|
16439
|
+
* Starts content tracing across runtime processes.
|
|
16440
|
+
*
|
|
16441
|
+
* Only one content tracing session may be active across the runtime at a time.
|
|
16442
|
+
* This method rejects if another identity already owns the active session.
|
|
16443
|
+
*/
|
|
16444
|
+
startRecording(options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions): Promise<void>;
|
|
16445
|
+
/**
|
|
16446
|
+
* Stops the active content tracing session and writes the trace to the runtime-managed cache folder.
|
|
16447
|
+
*
|
|
16448
|
+
* The calling identity must match the identity that started the active tracing session.
|
|
16449
|
+
* This method rejects if tracing is not active or is owned by another identity.
|
|
16450
|
+
*/
|
|
16451
|
+
stopRecording(): Promise<string>;
|
|
16452
|
+
/**
|
|
16453
|
+
* Returns the current maximum trace buffer usage across processes.
|
|
16454
|
+
*
|
|
16455
|
+
* This method is not supported on macOS and rejects on that platform.
|
|
16456
|
+
*/
|
|
16457
|
+
getTraceBufferUsage(): Promise<OpenFin_2.TraceBufferUsage>;
|
|
16458
|
+
}
|
|
16459
|
+
|
|
16443
16460
|
/**
|
|
16444
16461
|
* @deprecated Renamed to {@link Event}.
|
|
16445
16462
|
*/
|
|
@@ -16879,6 +16896,76 @@ declare type Time = {
|
|
|
16879
16896
|
|
|
16880
16897
|
declare type TimeZones = 'utc' | 'local';
|
|
16881
16898
|
|
|
16899
|
+
/**
|
|
16900
|
+
* @interface
|
|
16901
|
+
* Current maximum usage across trace buffers.
|
|
16902
|
+
*/
|
|
16903
|
+
declare type TraceBufferUsage = {
|
|
16904
|
+
value: number;
|
|
16905
|
+
percentage: number;
|
|
16906
|
+
};
|
|
16907
|
+
|
|
16908
|
+
/**
|
|
16909
|
+
* @interface
|
|
16910
|
+
* Shorthand tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16911
|
+
*/
|
|
16912
|
+
declare type TraceCategoriesAndOptions = {
|
|
16913
|
+
/**
|
|
16914
|
+
* Filter that controls which category groups should be traced.
|
|
16915
|
+
* 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.
|
|
16916
|
+
*/
|
|
16917
|
+
categoryFilter: string;
|
|
16918
|
+
/**
|
|
16919
|
+
* 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.
|
|
16920
|
+
*/
|
|
16921
|
+
traceOptions: string;
|
|
16922
|
+
};
|
|
16923
|
+
|
|
16924
|
+
/**
|
|
16925
|
+
* @interface
|
|
16926
|
+
* Structured tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16927
|
+
*/
|
|
16928
|
+
declare type TraceConfig = {
|
|
16929
|
+
/**
|
|
16930
|
+
* Can be `record-until-full`, `record-continuously`, `record-as-much-as-possible` or `trace-to-console`.
|
|
16931
|
+
* Defaults to `record-until-full`, which will record until the trace buffer is full and then stop recording.
|
|
16932
|
+
*/
|
|
16933
|
+
recording_mode?: 'record-until-full' | 'record-continuously' | 'record-as-much-as-possible' | 'trace-to-console';
|
|
16934
|
+
/**
|
|
16935
|
+
* Maximum size of the trace recording buffer in kilobytes.
|
|
16936
|
+
*/
|
|
16937
|
+
trace_buffer_size_in_kb?: number;
|
|
16938
|
+
/**
|
|
16939
|
+
* Maximum size of the trace recording buffer in events.
|
|
16940
|
+
* Defaults to 100MB
|
|
16941
|
+
*/
|
|
16942
|
+
trace_buffer_size_in_events?: number;
|
|
16943
|
+
/**
|
|
16944
|
+
* Filters event data according to Chromium's vetted allowlist.
|
|
16945
|
+
*/
|
|
16946
|
+
enable_argument_filter?: boolean;
|
|
16947
|
+
/**
|
|
16948
|
+
* A list of tracing categories to include.
|
|
16949
|
+
*/
|
|
16950
|
+
included_categories?: string[];
|
|
16951
|
+
/**
|
|
16952
|
+
* A list of tracing categories to exclude.
|
|
16953
|
+
*/
|
|
16954
|
+
excluded_categories?: string[];
|
|
16955
|
+
/**
|
|
16956
|
+
* A list of process IDs to include in the trace.
|
|
16957
|
+
*/
|
|
16958
|
+
included_process_ids?: number[];
|
|
16959
|
+
/**
|
|
16960
|
+
* A list of histogram names to report with the trace.
|
|
16961
|
+
*/
|
|
16962
|
+
histogram_names?: string[];
|
|
16963
|
+
/**
|
|
16964
|
+
* Additional configuration for memory tracing when memory-infra tracing is enabled.
|
|
16965
|
+
*/
|
|
16966
|
+
memory_dump_config?: Record<string, any>;
|
|
16967
|
+
};
|
|
16968
|
+
|
|
16882
16969
|
/**
|
|
16883
16970
|
* @interface
|
|
16884
16971
|
*/
|
|
@@ -16947,9 +17034,12 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
16947
17034
|
sendRaw: Wire['send'];
|
|
16948
17035
|
eventAggregator: EventAggregator;
|
|
16949
17036
|
protected messageHandlers: MessageHandler[];
|
|
16950
|
-
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity
|
|
17037
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity & {
|
|
17038
|
+
apiDiagnostics?: boolean;
|
|
17039
|
+
});
|
|
16951
17040
|
getFin(): OpenFin_2.Fin<MeType>;
|
|
16952
17041
|
registerFin(_fin: OpenFin_2.Fin<MeType>): void;
|
|
17042
|
+
recordAnalytic(action: string): void;
|
|
16953
17043
|
connectSync: () => void;
|
|
16954
17044
|
getPort: () => string;
|
|
16955
17045
|
shutdown(): Promise<void>;
|