Skip to content

Commit c88cea6

Browse files
author
bunsenstraat
committed
update profile
1 parent 3354943 commit c88cea6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/api/src/lib/file-system/file-panel/api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { customAction } from './type';
33
export interface IFilePanel {
44
events: {
55
setWorkspace: (workspace:any) => void
6-
renameWorkspace: (workspace:any) => void
7-
deleteWorkspace: (workspace:any) => void
8-
createWorkspace: (workspace:any) => void
6+
workspaceRenamed: (workspace:any) => void
7+
workspaceDeleted: (workspace:any) => void
8+
workspaceCreated: (workspace:any) => void
99
customAction: (cmd: customAction) => void
1010
} & StatusEvents
1111
methods: {

packages/api/src/lib/file-system/file-panel/profile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export const filePanelProfile: Profile<IFilePanel> & LocationProfile = {
88
location: "sidePanel",
99
documentation: "",
1010
version: "0.0.1",
11-
methods: ['getCurrentWorkspace', 'getWorkspaces', 'createWorkspace', 'renameWorkspace', 'registerContextMenuItem', 'deleteWorkspace'],
12-
events: ['setWorkspace', 'renameWorkspace', 'deleteWorkspace', 'createWorkspace', 'customAction']
11+
methods: ['getCurrentWorkspace', 'getWorkspaces', 'createWorkspace', 'registerContextMenuItem', 'renameWorkspace'],
12+
events: ['setWorkspace', 'workspaceRenamed', 'workspaceDeleted', 'workspaceCreated'],
1313
};

0 commit comments

Comments
 (0)