mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[SM-288] Rename models to follow naming convention (#3795)
This commit is contained in:
14
libs/common/src/models/domain/storage-options.ts
Normal file
14
libs/common/src/models/domain/storage-options.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Jsonify } from "type-fest";
|
||||
|
||||
import { HtmlStorageLocation } from "../../enums/htmlStorageLocation";
|
||||
import { StorageLocation } from "../../enums/storageLocation";
|
||||
|
||||
export type StorageOptions = {
|
||||
storageLocation?: StorageLocation;
|
||||
useSecureStorage?: boolean;
|
||||
userId?: string;
|
||||
htmlStorageLocation?: HtmlStorageLocation;
|
||||
keySuffix?: string;
|
||||
};
|
||||
|
||||
export type MemoryStorageOptions<T> = StorageOptions & { deserializer?: (obj: Jsonify<T>) => T };
|
||||
Reference in New Issue
Block a user