Add storage save to ide-api
This commit is contained in:
5
packages/ide-api/api.d.ts
vendored
5
packages/ide-api/api.d.ts
vendored
@ -136,12 +136,17 @@ interface ICommandRegistry {
|
||||
registerCommand(command: ICommand): IDisposable;
|
||||
}
|
||||
|
||||
interface IStorageService {
|
||||
save(): Promise<void>;
|
||||
}
|
||||
|
||||
declare namespace ide {
|
||||
export const client: {};
|
||||
|
||||
export const workbench: {
|
||||
readonly statusbarService: IStatusbarService;
|
||||
readonly notificationService: INotificationService;
|
||||
readonly storageService: IStorageService;
|
||||
readonly menuRegistry: IMenuRegistry;
|
||||
readonly commandRegistry: ICommandRegistry;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@coder/ide-api",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"typings": "api.d.ts",
|
||||
"author": "Coder",
|
||||
"license": "MIT",
|
||||
|
Reference in New Issue
Block a user