mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-12 19:50:46 +01:00
14 lines
387 B
TypeScript
14 lines
387 B
TypeScript
import { GENERATOR_DISK, UserKeyDefinition } from "@bitwarden/common/platform/state";
|
|
|
|
import { GeneratorNavigation } from "./generator-navigation";
|
|
|
|
/** plaintext password generation options */
|
|
export const GENERATOR_SETTINGS = new UserKeyDefinition<GeneratorNavigation>(
|
|
GENERATOR_DISK,
|
|
"generatorSettings",
|
|
{
|
|
deserializer: (value) => value,
|
|
clearOn: ["logout"],
|
|
},
|
|
);
|