mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
Assign ownership to many of the remaining libs/common files. Criteria for ownership: * Files used by a single team, is now owned by that team. * Files related to a domain owned by a team is now owned by that team. * Where ownership is unclear the "lowest level" service takes ownership.
14 lines
393 B
TypeScript
14 lines
393 B
TypeScript
import { Jsonify } from "type-fest";
|
|
|
|
import { HtmlStorageLocation, StorageLocation } from "../../enums";
|
|
|
|
export type StorageOptions = {
|
|
storageLocation?: StorageLocation;
|
|
useSecureStorage?: boolean;
|
|
userId?: string;
|
|
htmlStorageLocation?: HtmlStorageLocation;
|
|
keySuffix?: string;
|
|
};
|
|
|
|
export type MemoryStorageOptions<T> = StorageOptions & { deserializer?: (obj: Jsonify<T>) => T };
|