@openfin/fdc3-api 43.100.32 → 43.100.35
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 +66 -0
- package/out/fdc3-api-beta.d.ts +66 -0
- package/out/fdc3-api-public.d.ts +66 -0
- package/out/fdc3-api.d.ts +66 -0
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -5912,6 +5912,7 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5912
5912
|
readonly Platform: PlatformModule;
|
|
5913
5913
|
readonly Interop: InteropModule;
|
|
5914
5914
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
5915
|
+
readonly NotificationManager: NotificationManagerModule;
|
|
5915
5916
|
/**
|
|
5916
5917
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
5917
5918
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9801,6 +9802,29 @@ declare type NonPropagatedWindowEvent = never;
|
|
|
9801
9802
|
|
|
9802
9803
|
/* Excluded from this release type: NotCloseRequested */
|
|
9803
9804
|
|
|
9805
|
+
declare type NotificationEvent = {
|
|
9806
|
+
type: 'close' | 'click' | 'show';
|
|
9807
|
+
notificationId: string;
|
|
9808
|
+
};
|
|
9809
|
+
|
|
9810
|
+
declare class NotificationManagerInstance {
|
|
9811
|
+
#private;
|
|
9812
|
+
constructor(wire: Transport, id: string);
|
|
9813
|
+
setNotificationHandler: (handler: NotificiationHandler) => Promise<void>;
|
|
9814
|
+
destroy: () => Promise<void>;
|
|
9815
|
+
dispatch: (event: NotificationEvent) => Promise<void>;
|
|
9816
|
+
}
|
|
9817
|
+
|
|
9818
|
+
declare class NotificationManagerModule extends Base {
|
|
9819
|
+
init: () => Promise<NotificationManagerInstance>;
|
|
9820
|
+
}
|
|
9821
|
+
|
|
9822
|
+
declare type NotificationManagerPermissions = {
|
|
9823
|
+
init: boolean;
|
|
9824
|
+
};
|
|
9825
|
+
|
|
9826
|
+
declare type NotificiationHandler = (event: WebNotificationInfo) => void;
|
|
9827
|
+
|
|
9804
9828
|
/* Excluded from this release type: NotRequested */
|
|
9805
9829
|
|
|
9806
9830
|
/**
|
|
@@ -9973,6 +9997,7 @@ declare namespace OpenFin {
|
|
|
9973
9997
|
ApplicationPermissions,
|
|
9974
9998
|
LaunchExternalProcessRule,
|
|
9975
9999
|
SystemPermissions,
|
|
10000
|
+
NotificationManagerPermissions,
|
|
9976
10001
|
DevicePermissionName,
|
|
9977
10002
|
WebPermissionName,
|
|
9978
10003
|
WebPermission,
|
|
@@ -10209,6 +10234,11 @@ declare namespace OpenFin {
|
|
|
10209
10234
|
RoutingInfo,
|
|
10210
10235
|
DownloadShelfOptions,
|
|
10211
10236
|
ViewShowAtOptions,
|
|
10237
|
+
NotificationEvent,
|
|
10238
|
+
NotificationManagerInstance,
|
|
10239
|
+
NotificationManagerModule,
|
|
10240
|
+
WebNotificationInfo,
|
|
10241
|
+
WebNotificationProperties,
|
|
10212
10242
|
ExtensionInfo,
|
|
10213
10243
|
ServeRequest,
|
|
10214
10244
|
AppAssetServeRequest,
|
|
@@ -10503,6 +10533,7 @@ declare type Permissions_2 = {
|
|
|
10503
10533
|
Clipboard?: Partial<ClipboardApiPermissions>;
|
|
10504
10534
|
webAPIs?: WebPermission[];
|
|
10505
10535
|
devices?: DeviceInfo[];
|
|
10536
|
+
NotificationManager?: Partial<NotificationManagerPermissions>;
|
|
10506
10537
|
};
|
|
10507
10538
|
|
|
10508
10539
|
declare type PermissionState_2 = 'granted' | 'denied' | 'unavailable';
|
|
@@ -13297,6 +13328,28 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13297
13328
|
};
|
|
13298
13329
|
response: void;
|
|
13299
13330
|
};
|
|
13331
|
+
'dispatch-notification-event': {
|
|
13332
|
+
request: {
|
|
13333
|
+
notificationId: string;
|
|
13334
|
+
type: 'close' | 'show' | 'click';
|
|
13335
|
+
};
|
|
13336
|
+
response: void;
|
|
13337
|
+
};
|
|
13338
|
+
'init-notification-manager': {
|
|
13339
|
+
request: {};
|
|
13340
|
+
response: {
|
|
13341
|
+
managerId: string;
|
|
13342
|
+
};
|
|
13343
|
+
apiPath: '.init';
|
|
13344
|
+
secure: true;
|
|
13345
|
+
namespace: 'NotificationManager';
|
|
13346
|
+
};
|
|
13347
|
+
'destroy-notification-manager': {
|
|
13348
|
+
request: {
|
|
13349
|
+
managerId: string;
|
|
13350
|
+
};
|
|
13351
|
+
response: void;
|
|
13352
|
+
};
|
|
13300
13353
|
};
|
|
13301
13354
|
|
|
13302
13355
|
declare type ProtocolOffer = ClassicProtocolOffer | RTCProtocolOffer;
|
|
@@ -18271,6 +18324,19 @@ declare namespace WebContentsEvents {
|
|
|
18271
18324
|
}
|
|
18272
18325
|
}
|
|
18273
18326
|
|
|
18327
|
+
declare type WebNotificationInfo = {
|
|
18328
|
+
notificationId: string;
|
|
18329
|
+
properties: WebNotificationProperties;
|
|
18330
|
+
url: string;
|
|
18331
|
+
images: {
|
|
18332
|
+
icon?: string;
|
|
18333
|
+
badge?: string;
|
|
18334
|
+
image?: string;
|
|
18335
|
+
};
|
|
18336
|
+
};
|
|
18337
|
+
|
|
18338
|
+
declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'data' | 'dir' | 'icon' | 'lang' | 'title'>;
|
|
18339
|
+
|
|
18274
18340
|
/**
|
|
18275
18341
|
* Defines the type of requested web APIs permission.
|
|
18276
18342
|
*
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -5912,6 +5912,7 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5912
5912
|
readonly Platform: PlatformModule;
|
|
5913
5913
|
readonly Interop: InteropModule;
|
|
5914
5914
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
5915
|
+
readonly NotificationManager: NotificationManagerModule;
|
|
5915
5916
|
/**
|
|
5916
5917
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
5917
5918
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9801,6 +9802,29 @@ declare type NonPropagatedWindowEvent = never;
|
|
|
9801
9802
|
|
|
9802
9803
|
/* Excluded from this release type: NotCloseRequested */
|
|
9803
9804
|
|
|
9805
|
+
declare type NotificationEvent = {
|
|
9806
|
+
type: 'close' | 'click' | 'show';
|
|
9807
|
+
notificationId: string;
|
|
9808
|
+
};
|
|
9809
|
+
|
|
9810
|
+
declare class NotificationManagerInstance {
|
|
9811
|
+
#private;
|
|
9812
|
+
constructor(wire: Transport, id: string);
|
|
9813
|
+
setNotificationHandler: (handler: NotificiationHandler) => Promise<void>;
|
|
9814
|
+
destroy: () => Promise<void>;
|
|
9815
|
+
dispatch: (event: NotificationEvent) => Promise<void>;
|
|
9816
|
+
}
|
|
9817
|
+
|
|
9818
|
+
declare class NotificationManagerModule extends Base {
|
|
9819
|
+
init: () => Promise<NotificationManagerInstance>;
|
|
9820
|
+
}
|
|
9821
|
+
|
|
9822
|
+
declare type NotificationManagerPermissions = {
|
|
9823
|
+
init: boolean;
|
|
9824
|
+
};
|
|
9825
|
+
|
|
9826
|
+
declare type NotificiationHandler = (event: WebNotificationInfo) => void;
|
|
9827
|
+
|
|
9804
9828
|
/* Excluded from this release type: NotRequested */
|
|
9805
9829
|
|
|
9806
9830
|
/**
|
|
@@ -9973,6 +9997,7 @@ declare namespace OpenFin {
|
|
|
9973
9997
|
ApplicationPermissions,
|
|
9974
9998
|
LaunchExternalProcessRule,
|
|
9975
9999
|
SystemPermissions,
|
|
10000
|
+
NotificationManagerPermissions,
|
|
9976
10001
|
DevicePermissionName,
|
|
9977
10002
|
WebPermissionName,
|
|
9978
10003
|
WebPermission,
|
|
@@ -10209,6 +10234,11 @@ declare namespace OpenFin {
|
|
|
10209
10234
|
RoutingInfo,
|
|
10210
10235
|
DownloadShelfOptions,
|
|
10211
10236
|
ViewShowAtOptions,
|
|
10237
|
+
NotificationEvent,
|
|
10238
|
+
NotificationManagerInstance,
|
|
10239
|
+
NotificationManagerModule,
|
|
10240
|
+
WebNotificationInfo,
|
|
10241
|
+
WebNotificationProperties,
|
|
10212
10242
|
ExtensionInfo,
|
|
10213
10243
|
ServeRequest,
|
|
10214
10244
|
AppAssetServeRequest,
|
|
@@ -10503,6 +10533,7 @@ declare type Permissions_2 = {
|
|
|
10503
10533
|
Clipboard?: Partial<ClipboardApiPermissions>;
|
|
10504
10534
|
webAPIs?: WebPermission[];
|
|
10505
10535
|
devices?: DeviceInfo[];
|
|
10536
|
+
NotificationManager?: Partial<NotificationManagerPermissions>;
|
|
10506
10537
|
};
|
|
10507
10538
|
|
|
10508
10539
|
declare type PermissionState_2 = 'granted' | 'denied' | 'unavailable';
|
|
@@ -13297,6 +13328,28 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13297
13328
|
};
|
|
13298
13329
|
response: void;
|
|
13299
13330
|
};
|
|
13331
|
+
'dispatch-notification-event': {
|
|
13332
|
+
request: {
|
|
13333
|
+
notificationId: string;
|
|
13334
|
+
type: 'close' | 'show' | 'click';
|
|
13335
|
+
};
|
|
13336
|
+
response: void;
|
|
13337
|
+
};
|
|
13338
|
+
'init-notification-manager': {
|
|
13339
|
+
request: {};
|
|
13340
|
+
response: {
|
|
13341
|
+
managerId: string;
|
|
13342
|
+
};
|
|
13343
|
+
apiPath: '.init';
|
|
13344
|
+
secure: true;
|
|
13345
|
+
namespace: 'NotificationManager';
|
|
13346
|
+
};
|
|
13347
|
+
'destroy-notification-manager': {
|
|
13348
|
+
request: {
|
|
13349
|
+
managerId: string;
|
|
13350
|
+
};
|
|
13351
|
+
response: void;
|
|
13352
|
+
};
|
|
13300
13353
|
};
|
|
13301
13354
|
|
|
13302
13355
|
declare type ProtocolOffer = ClassicProtocolOffer | RTCProtocolOffer;
|
|
@@ -18271,6 +18324,19 @@ declare namespace WebContentsEvents {
|
|
|
18271
18324
|
}
|
|
18272
18325
|
}
|
|
18273
18326
|
|
|
18327
|
+
declare type WebNotificationInfo = {
|
|
18328
|
+
notificationId: string;
|
|
18329
|
+
properties: WebNotificationProperties;
|
|
18330
|
+
url: string;
|
|
18331
|
+
images: {
|
|
18332
|
+
icon?: string;
|
|
18333
|
+
badge?: string;
|
|
18334
|
+
image?: string;
|
|
18335
|
+
};
|
|
18336
|
+
};
|
|
18337
|
+
|
|
18338
|
+
declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'data' | 'dir' | 'icon' | 'lang' | 'title'>;
|
|
18339
|
+
|
|
18274
18340
|
/**
|
|
18275
18341
|
* Defines the type of requested web APIs permission.
|
|
18276
18342
|
*
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -5912,6 +5912,7 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5912
5912
|
readonly Platform: PlatformModule;
|
|
5913
5913
|
readonly Interop: InteropModule;
|
|
5914
5914
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
5915
|
+
readonly NotificationManager: NotificationManagerModule;
|
|
5915
5916
|
/**
|
|
5916
5917
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
5917
5918
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9801,6 +9802,29 @@ declare type NonPropagatedWindowEvent = never;
|
|
|
9801
9802
|
|
|
9802
9803
|
/* Excluded from this release type: NotCloseRequested */
|
|
9803
9804
|
|
|
9805
|
+
declare type NotificationEvent = {
|
|
9806
|
+
type: 'close' | 'click' | 'show';
|
|
9807
|
+
notificationId: string;
|
|
9808
|
+
};
|
|
9809
|
+
|
|
9810
|
+
declare class NotificationManagerInstance {
|
|
9811
|
+
#private;
|
|
9812
|
+
constructor(wire: Transport, id: string);
|
|
9813
|
+
setNotificationHandler: (handler: NotificiationHandler) => Promise<void>;
|
|
9814
|
+
destroy: () => Promise<void>;
|
|
9815
|
+
dispatch: (event: NotificationEvent) => Promise<void>;
|
|
9816
|
+
}
|
|
9817
|
+
|
|
9818
|
+
declare class NotificationManagerModule extends Base {
|
|
9819
|
+
init: () => Promise<NotificationManagerInstance>;
|
|
9820
|
+
}
|
|
9821
|
+
|
|
9822
|
+
declare type NotificationManagerPermissions = {
|
|
9823
|
+
init: boolean;
|
|
9824
|
+
};
|
|
9825
|
+
|
|
9826
|
+
declare type NotificiationHandler = (event: WebNotificationInfo) => void;
|
|
9827
|
+
|
|
9804
9828
|
/* Excluded from this release type: NotRequested */
|
|
9805
9829
|
|
|
9806
9830
|
/**
|
|
@@ -9973,6 +9997,7 @@ declare namespace OpenFin {
|
|
|
9973
9997
|
ApplicationPermissions,
|
|
9974
9998
|
LaunchExternalProcessRule,
|
|
9975
9999
|
SystemPermissions,
|
|
10000
|
+
NotificationManagerPermissions,
|
|
9976
10001
|
DevicePermissionName,
|
|
9977
10002
|
WebPermissionName,
|
|
9978
10003
|
WebPermission,
|
|
@@ -10209,6 +10234,11 @@ declare namespace OpenFin {
|
|
|
10209
10234
|
RoutingInfo,
|
|
10210
10235
|
DownloadShelfOptions,
|
|
10211
10236
|
ViewShowAtOptions,
|
|
10237
|
+
NotificationEvent,
|
|
10238
|
+
NotificationManagerInstance,
|
|
10239
|
+
NotificationManagerModule,
|
|
10240
|
+
WebNotificationInfo,
|
|
10241
|
+
WebNotificationProperties,
|
|
10212
10242
|
ExtensionInfo,
|
|
10213
10243
|
ServeRequest,
|
|
10214
10244
|
AppAssetServeRequest,
|
|
@@ -10503,6 +10533,7 @@ declare type Permissions_2 = {
|
|
|
10503
10533
|
Clipboard?: Partial<ClipboardApiPermissions>;
|
|
10504
10534
|
webAPIs?: WebPermission[];
|
|
10505
10535
|
devices?: DeviceInfo[];
|
|
10536
|
+
NotificationManager?: Partial<NotificationManagerPermissions>;
|
|
10506
10537
|
};
|
|
10507
10538
|
|
|
10508
10539
|
declare type PermissionState_2 = 'granted' | 'denied' | 'unavailable';
|
|
@@ -13297,6 +13328,28 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13297
13328
|
};
|
|
13298
13329
|
response: void;
|
|
13299
13330
|
};
|
|
13331
|
+
'dispatch-notification-event': {
|
|
13332
|
+
request: {
|
|
13333
|
+
notificationId: string;
|
|
13334
|
+
type: 'close' | 'show' | 'click';
|
|
13335
|
+
};
|
|
13336
|
+
response: void;
|
|
13337
|
+
};
|
|
13338
|
+
'init-notification-manager': {
|
|
13339
|
+
request: {};
|
|
13340
|
+
response: {
|
|
13341
|
+
managerId: string;
|
|
13342
|
+
};
|
|
13343
|
+
apiPath: '.init';
|
|
13344
|
+
secure: true;
|
|
13345
|
+
namespace: 'NotificationManager';
|
|
13346
|
+
};
|
|
13347
|
+
'destroy-notification-manager': {
|
|
13348
|
+
request: {
|
|
13349
|
+
managerId: string;
|
|
13350
|
+
};
|
|
13351
|
+
response: void;
|
|
13352
|
+
};
|
|
13300
13353
|
};
|
|
13301
13354
|
|
|
13302
13355
|
declare type ProtocolOffer = ClassicProtocolOffer | RTCProtocolOffer;
|
|
@@ -18271,6 +18324,19 @@ declare namespace WebContentsEvents {
|
|
|
18271
18324
|
}
|
|
18272
18325
|
}
|
|
18273
18326
|
|
|
18327
|
+
declare type WebNotificationInfo = {
|
|
18328
|
+
notificationId: string;
|
|
18329
|
+
properties: WebNotificationProperties;
|
|
18330
|
+
url: string;
|
|
18331
|
+
images: {
|
|
18332
|
+
icon?: string;
|
|
18333
|
+
badge?: string;
|
|
18334
|
+
image?: string;
|
|
18335
|
+
};
|
|
18336
|
+
};
|
|
18337
|
+
|
|
18338
|
+
declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'data' | 'dir' | 'icon' | 'lang' | 'title'>;
|
|
18339
|
+
|
|
18274
18340
|
/**
|
|
18275
18341
|
* Defines the type of requested web APIs permission.
|
|
18276
18342
|
*
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -5997,6 +5997,7 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
|
|
|
5997
5997
|
readonly Platform: PlatformModule;
|
|
5998
5998
|
readonly Interop: InteropModule;
|
|
5999
5999
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
6000
|
+
readonly NotificationManager: NotificationManagerModule;
|
|
6000
6001
|
/**
|
|
6001
6002
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
6002
6003
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -10114,6 +10115,29 @@ declare type NonPropagatedWindowEvent = never;
|
|
|
10114
10115
|
*/
|
|
10115
10116
|
declare type NotCloseRequested<EventType extends string> = Exclude<EventType, 'close-requested'>;
|
|
10116
10117
|
|
|
10118
|
+
declare type NotificationEvent = {
|
|
10119
|
+
type: 'close' | 'click' | 'show';
|
|
10120
|
+
notificationId: string;
|
|
10121
|
+
};
|
|
10122
|
+
|
|
10123
|
+
declare class NotificationManagerInstance {
|
|
10124
|
+
#private;
|
|
10125
|
+
constructor(wire: Transport, id: string);
|
|
10126
|
+
setNotificationHandler: (handler: NotificiationHandler) => Promise<void>;
|
|
10127
|
+
destroy: () => Promise<void>;
|
|
10128
|
+
dispatch: (event: NotificationEvent) => Promise<void>;
|
|
10129
|
+
}
|
|
10130
|
+
|
|
10131
|
+
declare class NotificationManagerModule extends Base {
|
|
10132
|
+
init: () => Promise<NotificationManagerInstance>;
|
|
10133
|
+
}
|
|
10134
|
+
|
|
10135
|
+
declare type NotificationManagerPermissions = {
|
|
10136
|
+
init: boolean;
|
|
10137
|
+
};
|
|
10138
|
+
|
|
10139
|
+
declare type NotificiationHandler = (event: WebNotificationInfo) => void;
|
|
10140
|
+
|
|
10117
10141
|
/**
|
|
10118
10142
|
* @internal
|
|
10119
10143
|
*
|
|
@@ -10291,6 +10315,7 @@ declare namespace OpenFin {
|
|
|
10291
10315
|
ApplicationPermissions,
|
|
10292
10316
|
LaunchExternalProcessRule,
|
|
10293
10317
|
SystemPermissions,
|
|
10318
|
+
NotificationManagerPermissions,
|
|
10294
10319
|
DevicePermissionName,
|
|
10295
10320
|
WebPermissionName,
|
|
10296
10321
|
WebPermission,
|
|
@@ -10527,6 +10552,11 @@ declare namespace OpenFin {
|
|
|
10527
10552
|
RoutingInfo,
|
|
10528
10553
|
DownloadShelfOptions,
|
|
10529
10554
|
ViewShowAtOptions,
|
|
10555
|
+
NotificationEvent,
|
|
10556
|
+
NotificationManagerInstance,
|
|
10557
|
+
NotificationManagerModule,
|
|
10558
|
+
WebNotificationInfo,
|
|
10559
|
+
WebNotificationProperties,
|
|
10530
10560
|
ExtensionInfo,
|
|
10531
10561
|
ServeRequest,
|
|
10532
10562
|
AppAssetServeRequest,
|
|
@@ -10821,6 +10851,7 @@ declare type Permissions_2 = {
|
|
|
10821
10851
|
Clipboard?: Partial<ClipboardApiPermissions>;
|
|
10822
10852
|
webAPIs?: WebPermission[];
|
|
10823
10853
|
devices?: DeviceInfo[];
|
|
10854
|
+
NotificationManager?: Partial<NotificationManagerPermissions>;
|
|
10824
10855
|
};
|
|
10825
10856
|
|
|
10826
10857
|
declare type PermissionState_2 = 'granted' | 'denied' | 'unavailable';
|
|
@@ -13698,6 +13729,28 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13698
13729
|
};
|
|
13699
13730
|
response: void;
|
|
13700
13731
|
};
|
|
13732
|
+
'dispatch-notification-event': {
|
|
13733
|
+
request: {
|
|
13734
|
+
notificationId: string;
|
|
13735
|
+
type: 'close' | 'show' | 'click';
|
|
13736
|
+
};
|
|
13737
|
+
response: void;
|
|
13738
|
+
};
|
|
13739
|
+
'init-notification-manager': {
|
|
13740
|
+
request: {};
|
|
13741
|
+
response: {
|
|
13742
|
+
managerId: string;
|
|
13743
|
+
};
|
|
13744
|
+
apiPath: '.init';
|
|
13745
|
+
secure: true;
|
|
13746
|
+
namespace: 'NotificationManager';
|
|
13747
|
+
};
|
|
13748
|
+
'destroy-notification-manager': {
|
|
13749
|
+
request: {
|
|
13750
|
+
managerId: string;
|
|
13751
|
+
};
|
|
13752
|
+
response: void;
|
|
13753
|
+
};
|
|
13701
13754
|
};
|
|
13702
13755
|
|
|
13703
13756
|
declare type ProtocolOffer = ClassicProtocolOffer | RTCProtocolOffer;
|
|
@@ -18722,6 +18775,19 @@ declare namespace WebContentsEvents {
|
|
|
18722
18775
|
}
|
|
18723
18776
|
}
|
|
18724
18777
|
|
|
18778
|
+
declare type WebNotificationInfo = {
|
|
18779
|
+
notificationId: string;
|
|
18780
|
+
properties: WebNotificationProperties;
|
|
18781
|
+
url: string;
|
|
18782
|
+
images: {
|
|
18783
|
+
icon?: string;
|
|
18784
|
+
badge?: string;
|
|
18785
|
+
image?: string;
|
|
18786
|
+
};
|
|
18787
|
+
};
|
|
18788
|
+
|
|
18789
|
+
declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'data' | 'dir' | 'icon' | 'lang' | 'title'>;
|
|
18790
|
+
|
|
18725
18791
|
/**
|
|
18726
18792
|
* Defines the type of requested web APIs permission.
|
|
18727
18793
|
*
|