@openfin/workspace 10.3.4 → 10.3.7

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.
@@ -1,4 +1,3 @@
1
- import { ColorSchemeOptionType } from '../../client-api-platform/src/shapes';
2
1
  import { NotificationsPlatform } from './shapes/notifications';
3
2
  export * from 'openfin-notifications';
4
3
  export * from './shapes/notifications';
@@ -12,8 +11,3 @@ export declare const register: (platform: NotificationsPlatform) => Promise<void
12
11
  * @param platformId id of the platform to deregister
13
12
  */
14
13
  export declare const deregister: (platformId: string) => Promise<void>;
15
- /**
16
- * Updates a workspace platform's theme scheme.
17
- * @param scheme scheme to apply
18
- */
19
- export declare const updateScheme: (scheme: ColorSchemeOptionType) => Promise<void>;
@@ -0,0 +1,14 @@
1
+ /// <reference types="@openfin/core" />
2
+ import { ColorSchemeOptionType } from '../../../../client-api-platform/src/shapes';
3
+ export declare const NOTIFICATIONS_SYNC_CHANNEL = "of-workspace-notifications-sync";
4
+ export declare enum NotificationsChannelAction {
5
+ UpdatePlatformThemeScheme = "update-platform-theme-scheme"
6
+ }
7
+ export interface UpdatePlatformSchemePayload {
8
+ scheme: ColorSchemeOptionType;
9
+ }
10
+ interface NotificationsSyncChannelClient extends OpenFin.ChannelClient {
11
+ dispatch(action: NotificationsChannelAction.UpdatePlatformThemeScheme, payload: UpdatePlatformSchemePayload): Promise<void>;
12
+ }
13
+ export declare const getNotificationsSyncChannelClient: () => Promise<NotificationsSyncChannelClient>;
14
+ export {};