1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-31 23:53:37 +00:00

added missing implements

This commit is contained in:
Kyle Spearrin
2018-01-09 23:31:09 -05:00
parent 6be48873cc
commit 258178dc16
4 changed files with 8 additions and 7 deletions

View File

@@ -2,6 +2,7 @@ import { CollectionData } from '../models/data/collectionData';
import { Collection } from '../models/domain/collection';
import { CollectionService as CollectionServiceInterface } from '../abstractions/collection.service';
import { CryptoService } from '../abstractions/crypto.service';
import { StorageService } from '../abstractions/storage.service';
import { UserService } from '../abstractions/user.service';
@@ -10,7 +11,7 @@ const Keys = {
collectionsPrefix: 'collections_',
};
export class CollectionService {
export class CollectionService implements CollectionServiceInterface {
decryptedCollectionCache: any[];
constructor(private cryptoService: CryptoService, private userService: UserService,

View File

@@ -6,7 +6,7 @@ import { ApiService } from '../abstractions/api.service';
import { EnvironmentService as EnvironmentServiceInterface } from '../abstractions/environment.service';
import { StorageService } from '../abstractions/storage.service';
export class EnvironmentService {
export class EnvironmentService implements EnvironmentServiceInterface {
baseUrl: string;
webVaultUrl: string;
apiUrl: string;

View File

@@ -7,7 +7,7 @@ const Keys = {
equivalentDomains: 'equivalentDomains',
};
export class SettingsService {
export class SettingsService implements SettingsServiceInterface {
private settingsCache: any;
constructor(private userService: UserService, private storageService: StorageService) {