@openfin/workspace 23.0.1 → 23.0.2
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/client-api/src/notifications.d.ts +2 -2
- package/client-api/src/shapes/index.d.ts +1 -1
- package/client-api/src/shapes/notifications.d.ts +1 -1
- package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +3 -0
- package/common/src/api/protocol/notifications.d.ts +7 -0
- package/common/src/api/protocol/workspace-platform.d.ts +1 -1
- package/common/src/api/shapes/notifications.d.ts +1 -0
- package/externals.report.json +9 -7
- package/home.js +1 -1
- package/home.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/notifications.js.map +1 -1
- package/package.json +2 -2
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Notifications from '
|
|
1
|
+
import * as Notifications from '@here-io/notifications';
|
|
2
2
|
import type { NotificationsPlatform, NotificationsRegisterOptions } from './shapes/notifications';
|
|
3
|
-
export * from '
|
|
3
|
+
export * from '@here-io/notifications';
|
|
4
4
|
export * from './shapes/notifications';
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use `register` with {@link NotificationsRegisterOptions | options?: NotificationsRegisterOptions} argument instead.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* WARNING: Do not export from './notifications' here. Not unless we move '
|
|
2
|
+
* WARNING: Do not export from './notifications' here. Not unless we move '@here-io/notifications' here.
|
|
3
3
|
*/
|
|
4
4
|
export * from './common';
|
|
5
5
|
export * from './home';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This module exports only notifications types that are not defined in '
|
|
2
|
+
* This module exports only notifications types that are not defined in '@here-io/notifications' npm package
|
|
3
3
|
*/
|
|
4
4
|
import { NotificationsCustomManifestOptions } from '../../../common/src/api/shapes/notifications';
|
|
5
5
|
/**
|
|
@@ -62,7 +62,7 @@ export declare class ThemeStorageController {
|
|
|
62
62
|
* Synchronize the current palette and scheme with workspace's storage instance if
|
|
63
63
|
* storage based theming is enabled. Only syncs when user has explicitly selected a scheme.
|
|
64
64
|
*/
|
|
65
|
-
trySynchronizeWorkspaceStorage: () => void
|
|
65
|
+
trySynchronizeWorkspaceStorage: () => Promise<void>;
|
|
66
66
|
/**
|
|
67
67
|
* Set the current Palette to be used by workspace. This palette will be converted into
|
|
68
68
|
* css vars and combined into a single stylesheet. This stylesheet is exposed in localstorage
|
|
@@ -415,6 +415,7 @@ export declare enum BrowserButtonType {
|
|
|
415
415
|
LockUnlockPage = "LockUnlockPage",
|
|
416
416
|
SaveMenu = "SaveMenu",
|
|
417
417
|
SavePage = "SavePage",
|
|
418
|
+
Download = "Download",
|
|
418
419
|
Minimise = "Minimise",
|
|
419
420
|
Maximise = "Maximise",
|
|
420
421
|
Close = "Close",
|
|
@@ -1916,6 +1917,7 @@ export interface WorkspacePlatformModule extends OpenFin.Platform {
|
|
|
1916
1917
|
setLanguage(locale: Locale): Promise<void>;
|
|
1917
1918
|
/**
|
|
1918
1919
|
* Implementation for getting the notifications workspace platform configuration.
|
|
1920
|
+
* @deprecated Notifications config is now part of the platform manifest and is automatically resolved by the notifications API. Do not use this method as it will not return the correct configuration.
|
|
1919
1921
|
*/
|
|
1920
1922
|
getNotificationsConfig(): Promise<NotificationsCustomManifestOptions | undefined>;
|
|
1921
1923
|
/**
|
|
@@ -2581,6 +2583,7 @@ export interface WorkspacePlatformInitConfig {
|
|
|
2581
2583
|
/**
|
|
2582
2584
|
* Config for overriding default notifications behaviour.
|
|
2583
2585
|
* Leave undefined to use OpenFin hosted Notification Center.
|
|
2586
|
+
* @deprecated Notifications config is now part of the platform manifest and is automatically resolved by the notifications API. Do not use this property as it will not have any effect.
|
|
2584
2587
|
*/
|
|
2585
2588
|
notifications?: NotificationsCustomManifestOptions;
|
|
2586
2589
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { ColorSchemeOptionType } from '../../../../client-api-platform/src/shapes';
|
|
3
|
+
import { NotificationsCustomManifestOptions } from '../shapes/notifications';
|
|
3
4
|
export declare const NOTIFICATIONS_SYNC_CHANNEL = "of-workspace-notifications-sync";
|
|
4
5
|
export declare enum NotificationsChannelAction {
|
|
5
6
|
UpdatePlatformThemeScheme = "update-platform-theme-scheme"
|
|
@@ -10,5 +11,11 @@ export interface UpdatePlatformSchemePayload {
|
|
|
10
11
|
interface NotificationsSyncChannelClient extends OpenFin.ChannelClient {
|
|
11
12
|
dispatch(action: NotificationsChannelAction.UpdatePlatformThemeScheme, payload: UpdatePlatformSchemePayload): Promise<void>;
|
|
12
13
|
}
|
|
14
|
+
export type ManifestNotificationsConfig = {
|
|
15
|
+
notifications?: {
|
|
16
|
+
customManifest?: NotificationsCustomManifestOptions;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare function getNotificationCenterUuid(): Promise<string>;
|
|
13
20
|
export declare const getNotificationsSyncChannelClient: () => Promise<NotificationsSyncChannelClient>;
|
|
14
21
|
export {};
|
|
@@ -78,7 +78,7 @@ export declare enum WorkspacePlatformChannelAction {
|
|
|
78
78
|
HandleRequestNavigationInternal = "handleRequestNavigationInternal",// Enterprise
|
|
79
79
|
RefreshBookmarksInternal = "refreshBookmarksInternal",// Enterprise
|
|
80
80
|
LaunchBookmarkInternal = "launchBookmarkInternal",// Enterprise
|
|
81
|
-
GetNotificationsConfig = "getNotificationsConfig"
|
|
81
|
+
GetNotificationsConfig = "getNotificationsConfig",// Deprecated
|
|
82
82
|
UpdateDockFavoritesInternal = "updateDockFavoritesInternal",// Enterprise
|
|
83
83
|
UpdateContentMenuInternal = "updateContentMenuInternal",// Enterprise
|
|
84
84
|
LaunchDockEntryInternal = "launchDockEntryInternal",// Enterprise
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Options for using privately hosted notification service.
|
|
3
|
+
* @deprecated Custom manifest is now part of the platform manifest and is automatically resolved by the notifications API. Do not use this type as it will be ignored.
|
|
3
4
|
*/
|
|
4
5
|
export type NotificationsCustomManifestOptions = {
|
|
5
6
|
/**
|
package/externals.report.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"@here-io/notifications": [
|
|
3
3
|
{
|
|
4
|
+
"type": "explicit",
|
|
5
|
+
"version": "npm:@openfin/notifications@2.13.0-alpha-4294",
|
|
4
6
|
"packageName": "client-api/package.json",
|
|
5
7
|
"issuer": "client-api/src/notifications.ts"
|
|
6
8
|
}
|
|
@@ -58,12 +60,6 @@
|
|
|
58
60
|
}
|
|
59
61
|
],
|
|
60
62
|
"dexie": [
|
|
61
|
-
{
|
|
62
|
-
"type": "root-implicit",
|
|
63
|
-
"version": "^4.0.11",
|
|
64
|
-
"packageName": "common/package.json",
|
|
65
|
-
"issuer": "common/src/api/pages/idb.ts"
|
|
66
|
-
},
|
|
67
63
|
{
|
|
68
64
|
"type": "root-implicit",
|
|
69
65
|
"version": "^4.0.11",
|
|
@@ -76,6 +72,12 @@
|
|
|
76
72
|
"packageName": "client-api-platform/package.json",
|
|
77
73
|
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
78
74
|
},
|
|
75
|
+
{
|
|
76
|
+
"type": "root-implicit",
|
|
77
|
+
"version": "^4.0.11",
|
|
78
|
+
"packageName": "common/package.json",
|
|
79
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
80
|
+
},
|
|
79
81
|
{
|
|
80
82
|
"type": "root-implicit",
|
|
81
83
|
"version": "^4.0.11",
|