1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02: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

@ -1,8 +1,8 @@
import { CipherData } from '../models/data';
import { CipherData } from '../models/data/cipherData';
import { Cipher } from '../models/domain';
import { Field } from '../models/domain';
import { SymmetricCryptoKey } from '../models/domain';
import { Cipher } from '../models/domain/cipher';
import { Field } from '../models/domain/field';
import { SymmetricCryptoKey } from '../models/domain/symmetricCryptoKey';
export interface CipherService {
decryptedCipherCache: any[];

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) {