1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

convert services to abstractions

This commit is contained in:
Kyle Spearrin
2018-01-23 17:29:15 -05:00
parent 6c9e0c4cd3
commit edc3bd1f81
10 changed files with 60 additions and 59 deletions

View File

@@ -1,10 +1,10 @@
export interface EnvironmentService {
export abstract class EnvironmentService {
baseUrl: string;
webVaultUrl: string;
apiUrl: string;
identityUrl: string;
iconsUrl: string;
setUrlsFromStorage(): Promise<void>;
setUrls(urls: any): Promise<any>;
setUrlsFromStorage:() => Promise<void>;
setUrls: (urls: any) => Promise<any>;
}