1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

Extract API logic from FolderService to FolderApiService (#3011)

This commit is contained in:
Oscar Hinton
2022-07-08 15:40:31 +02:00
committed by GitHub
parent 41275d4776
commit f79c4f0c65
46 changed files with 212 additions and 146 deletions

View File

@@ -79,13 +79,15 @@ export class ServeCommand {
this.main.folderService,
this.main.stateService,
this.main.cryptoService,
this.main.apiService
this.main.apiService,
this.main.folderApiService
);
this.editCommand = new EditCommand(
this.main.cipherService,
this.main.folderService,
this.main.cryptoService,
this.main.apiService
this.main.apiService,
this.main.folderApiService
);
this.generateCommand = new GenerateCommand(
this.main.passwordGenerationService,
@@ -102,7 +104,8 @@ export class ServeCommand {
this.main.cipherService,
this.main.folderService,
this.main.stateService,
this.main.apiService
this.main.apiService,
this.main.folderApiService
);
this.confirmCommand = new ConfirmCommand(this.main.apiService, this.main.cryptoService);
this.restoreCommand = new RestoreCommand(this.main.cipherService);