@openfin/workspace 24.0.8 → 24.1.0-alpha.a74f66e9

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 +1,2 @@
1
1
  import '@common/test/fin-mocks';
2
+ import '@common/test/logger-mock';
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
7
7
  * @param app the app directory entry.
8
8
  * @param opts launch options.
9
9
  */
10
- export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.View | OpenFin.Application>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -63,6 +63,8 @@ export declare class ThemeStorageController {
63
63
  /**
64
64
  * Synchronize the current palette and scheme with workspace's storage instance if
65
65
  * storage based theming is enabled. Only syncs when user has explicitly selected a scheme.
66
+ *
67
+ * Wrapped in try/catch so it does not throw
66
68
  */
67
69
  trySynchronizeWorkspaceStorage: () => Promise<void>;
68
70
  /**
@@ -3,7 +3,7 @@ export type StorageProxy = {
3
3
  setItem: (data: string, value: string) => Promise<void>;
4
4
  destroy: () => Promise<void>;
5
5
  };
6
- export declare const createStorageProxy: (url: string) => Promise<StorageProxy>;
6
+ export declare const createStorageProxy: (url: string, isEnterprise: boolean) => Promise<StorageProxy>;
7
7
  /**
8
8
  * Ensure the workspace storage proxy window exists. Recreates it if it was previously destroyed
9
9
  * (e.g. when the last browser window closed with preventQuitOnLastWindowClosed true and a new
@@ -2874,7 +2874,6 @@ export type WorkspacePlatformOverrideCallback = OpenFin.OverrideCallback<Workspa
2874
2874
  export type BrowserOverrideCallback = WorkspacePlatformOverrideCallback;
2875
2875
  /**
2876
2876
  * Content menu entry shape cloned and re-exported from UI Library.
2877
- * @internal
2878
2877
  */
2879
2878
  export type ContentMenuEntry = {
2880
2879
  bookmarked?: boolean;
@@ -2902,7 +2901,6 @@ export type BookmarkDockEntryPayload = {
2902
2901
  };
2903
2902
  /**
2904
2903
  * Represents dock entry for favorites
2905
- * @internal
2906
2904
  */
2907
2905
  export type DockEntry = {
2908
2906
  type: 'folder';
@@ -0,0 +1,5 @@
1
+ export declare const mockLogger: {
2
+ debug: jest.Mock<any, any, any>;
3
+ warn: jest.Mock<any, any, any>;
4
+ error: jest.Mock<any, any, any>;
5
+ };
@@ -2,7 +2,7 @@
2
2
  "@openfin/notifications": [
3
3
  {
4
4
  "type": "explicit",
5
- "version": "2.14.0-alpha-4520",
5
+ "version": "2.14.0-alpha-4509",
6
6
  "packageName": "client-api/package.json",
7
7
  "issuer": "client-api/src/notifications.ts"
8
8
  }
@@ -59,14 +59,6 @@
59
59
  "issuer": "common/src/api/i18next.ts"
60
60
  }
61
61
  ],
62
- "lodash.clonedeep": [
63
- {
64
- "type": "explicit",
65
- "version": "4.5.0",
66
- "packageName": "common/package.json",
67
- "issuer": "common/src/utils/layout.ts"
68
- }
69
- ],
70
62
  "dexie": [
71
63
  {
72
64
  "type": "root-implicit",
@@ -84,13 +76,21 @@
84
76
  "type": "explicit",
85
77
  "version": "^4.0.11",
86
78
  "packageName": "common/package.json",
87
- "issuer": "common/src/api/pages/idb.ts"
79
+ "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
88
80
  },
89
81
  {
90
82
  "type": "explicit",
91
83
  "version": "^4.0.11",
92
84
  "packageName": "common/package.json",
93
- "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
85
+ "issuer": "common/src/api/pages/idb.ts"
86
+ }
87
+ ],
88
+ "lodash.clonedeep": [
89
+ {
90
+ "type": "explicit",
91
+ "version": "4.5.0",
92
+ "packageName": "common/package.json",
93
+ "issuer": "common/src/utils/layout.ts"
94
94
  }
95
95
  ]
96
96
  }