mirror of
https://github.com/bitwarden/browser
synced 2026-01-08 03:23:50 +00:00
state service
This commit is contained in:
@@ -13,6 +13,7 @@ export { PasswordGenerationService } from './passwordGeneration.service';
|
||||
export { PlatformUtilsService } from './platformUtils.service';
|
||||
export { SettingsService } from './settings.service';
|
||||
export { StorageService } from './storage.service';
|
||||
export { StateService } from './state.service';
|
||||
export { SyncService } from './sync.service';
|
||||
export { TokenService } from './token.service';
|
||||
export { TotpService } from './totp.service';
|
||||
|
||||
6
src/abstractions/state.service.ts
Normal file
6
src/abstractions/state.service.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export abstract class StateService {
|
||||
get: <T>(key: string) => Promise<T>;
|
||||
save: (key: string, obj: any) => Promise<any>;
|
||||
remove: (key: string) => Promise<any>;
|
||||
purge: () => Promise<any>;
|
||||
}
|
||||
Reference in New Issue
Block a user