diff --git a/packages/ide-api/api.d.ts b/packages/ide-api/api.d.ts index 0a7b64fec..8d059e109 100644 --- a/packages/ide-api/api.d.ts +++ b/packages/ide-api/api.d.ts @@ -136,12 +136,17 @@ interface ICommandRegistry { registerCommand(command: ICommand): IDisposable; } +interface IStorageService { + save(): Promise; +} + declare namespace ide { export const client: {}; export const workbench: { readonly statusbarService: IStatusbarService; readonly notificationService: INotificationService; + readonly storageService: IStorageService; readonly menuRegistry: IMenuRegistry; readonly commandRegistry: ICommandRegistry; diff --git a/packages/ide-api/package.json b/packages/ide-api/package.json index 1435b94e6..71a1a6774 100644 --- a/packages/ide-api/package.json +++ b/packages/ide-api/package.json @@ -1,6 +1,6 @@ { "name": "@coder/ide-api", - "version": "1.0.3", + "version": "1.0.4", "typings": "api.d.ts", "author": "Coder", "license": "MIT", diff --git a/packages/server/src/server.ts b/packages/server/src/server.ts index ae5a93746..9555b1d7f 100644 --- a/packages/server/src/server.ts +++ b/packages/server/src/server.ts @@ -271,7 +271,7 @@ export const createApp = async (options: CreateAppOptions): Promise<{ const body = data.join(""); await mkdirp(path.dirname(fullPath)); fs.writeFileSync(fullPath, body); - logger.debug("Wrote resource", field("path", fullPath), field("content-length", body.length)); + logger.info("Wrote resource", field("path", fullPath), field("content-length", body.length)); res.status(200); res.end(); });