@openfin/workspace-platform 19.1.7 → 19.1.8
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-platform/src/shapes.d.ts +6 -2
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1135,8 +1135,10 @@ export interface WorkspacePlatformStorage {
|
|
|
1135
1135
|
* const myPage = await workspacePlatform.Storage.getPage('myPageId');
|
|
1136
1136
|
* ```
|
|
1137
1137
|
* @param id the id of the page to get.
|
|
1138
|
+
*
|
|
1139
|
+
* * @returns a page object or undefined if page doesn't exist.
|
|
1138
1140
|
*/
|
|
1139
|
-
getPage(id: string): Promise<Page>;
|
|
1141
|
+
getPage(id: string): Promise<Page | undefined>;
|
|
1140
1142
|
/**
|
|
1141
1143
|
* Create a page in persistent storage.
|
|
1142
1144
|
*
|
|
@@ -1521,8 +1523,10 @@ export interface WorkspacePlatformProvider extends OpenFin.PlatformProvider {
|
|
|
1521
1523
|
/**
|
|
1522
1524
|
* Implementation for getting a single page in persistent storage.
|
|
1523
1525
|
* @param id
|
|
1526
|
+
*
|
|
1527
|
+
* @returns a page object or undefined if page doesn't exist.
|
|
1524
1528
|
*/
|
|
1525
|
-
getSavedPage(id: string): Promise<Page>;
|
|
1529
|
+
getSavedPage(id: string): Promise<Page | undefined>;
|
|
1526
1530
|
/**
|
|
1527
1531
|
* Implementation for creating a saved page in persistent storage.
|
|
1528
1532
|
* @param req the create saved page request.
|