@openfin/workspace-platform 18.0.6 → 18.0.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/api/pages/index.d.ts +4 -0
- package/client-api-platform/src/api/workspaces/index.d.ts +1 -0
- package/common/src/api/protocol/workspace-platform.d.ts +1 -0
- package/common/src/api/tabs.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import type { AttachedPage, CopyPagePayload, DetachPagesFromWindowPayload, ExtendedAttachPagesToWindowPayload, HandleSaveModalOnPageClosePayload, ReorderPagesForWindowPayload, SaveModalOnPageCloseResult, SetActivePageForWindowPayload, UpdatePageForWindowPayload } from '../../../../common/src/api/pages/shapes';
|
|
3
3
|
import type { CreateSavedPageRequest, HandlePageChangesPayload, ModifiedPageState, Page, UpdateSavedPageRequest } from '../../../../client-api-platform/src/shapes';
|
|
4
|
+
/**
|
|
5
|
+
* Mark all unsaved pages as saved.
|
|
6
|
+
*/
|
|
7
|
+
export declare const markUnsavedPagesAsSavedInternal: () => Promise<void>;
|
|
4
8
|
/**
|
|
5
9
|
* Get all open pages in which are attached to a window.
|
|
6
10
|
* @returns the list of attached pages.
|
|
@@ -25,6 +25,7 @@ export declare const createWorkspaceInStorage: (req: CreateSavedWorkspaceRequest
|
|
|
25
25
|
export declare const getWorkspacesInStorage: () => Promise<Workspace[]>;
|
|
26
26
|
export declare const getWorkspaceInStorage: (id: string) => Promise<Workspace>;
|
|
27
27
|
export declare const deleteWorkspaceInStorage: (id: string) => Promise<any>;
|
|
28
|
+
export declare const markUnsavedPagesAsSaved: () => Promise<any>;
|
|
28
29
|
export declare const saveWorkspace: (workspace: Workspace) => Promise<any>;
|
|
29
30
|
/**
|
|
30
31
|
* Checks if a given workspace name is unique
|
|
@@ -59,6 +59,7 @@ export declare enum WorkspacePlatformChannelAction {
|
|
|
59
59
|
HandleSaveModalOnPageClose = "handleSaveModalOnPageClose",
|
|
60
60
|
CopyPage = "copyPage",
|
|
61
61
|
HandlePageChanges = "handlePageChanges",
|
|
62
|
+
MarkUnsavedPagesAsSavedInternal = "markUnsavedPagesAsSavedInternal",
|
|
62
63
|
TrackRemovedTabInternal = "trackRemovedTabInternal",
|
|
63
64
|
RestoreRemovedTabInternal = "restoreRemovedTabInternal",
|
|
64
65
|
TrackVisitedSiteInternal = "trackVisitedSiteInternal",
|
package/common/src/api/tabs.d.ts
CHANGED