1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-13 14:53:33 +00:00

stub out some services

This commit is contained in:
Kyle Spearrin
2018-05-12 21:24:28 -04:00
parent bb54e2a381
commit 8f49b58d2e
5 changed files with 116 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
import { StorageService } from 'jslib/abstractions/storage.service';
export class NodeStorageService implements StorageService {
get<T>(key: string): Promise<T> {
return Promise.resolve(null);
}
save(key: string, obj: any): Promise<any> {
return Promise.resolve();
}
remove(key: string): Promise<any> {
return Promise.resolve();
}
}