@sap-ux/store
Version:
NPM module for storing persistent data
13 lines • 525 B
TypeScript
import type { SecureStore } from './types';
import type { Logger } from '@sap-ux/logger';
export declare class DummyStore implements SecureStore {
private readonly log;
constructor(log: Logger);
save<T>(service: string, key: string, _value: T): Promise<boolean>;
retrieve<T>(service: string, key: string): Promise<T | undefined>;
delete(service: string, key: string): Promise<boolean>;
getAll<T>(service: string): Promise<{
[key: string]: T;
}>;
}
//# sourceMappingURL=dummy-store.d.ts.map