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 { Cipher } from '../models/domain/cipher';
import { Field } from '../models/domain'; import { Field } from '../models/domain/field';
import { SymmetricCryptoKey } from '../models/domain'; import { SymmetricCryptoKey } from '../models/domain/symmetricCryptoKey';
export interface CipherService { export interface CipherService {
decryptedCipherCache: any[]; decryptedCipherCache: any[];

View File

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

View File

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