mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
* introduce legacy generators * introduce generator navigation service * Introduce default options. These accept a userId so that they can be policy-defined * replace `GeneratorOptions` with backwards compatible `GeneratorNavigation`
24 lines
1015 B
TypeScript
24 lines
1015 B
TypeScript
import { CatchallGenerationOptions } from "./catchall-generator-options";
|
|
import { EffUsernameGenerationOptions } from "./eff-username-generator-options";
|
|
import { ForwarderId, RequestOptions } from "./options/forwarder-options";
|
|
import { UsernameGeneratorType } from "./options/generator-options";
|
|
import { SubaddressGenerationOptions } from "./subaddress-generator-options";
|
|
|
|
export type UsernameGeneratorOptions = EffUsernameGenerationOptions &
|
|
SubaddressGenerationOptions &
|
|
CatchallGenerationOptions &
|
|
RequestOptions & {
|
|
type?: UsernameGeneratorType;
|
|
forwardedService?: ForwarderId | "";
|
|
forwardedAnonAddyApiToken?: string;
|
|
forwardedAnonAddyDomain?: string;
|
|
forwardedAnonAddyBaseUrl?: string;
|
|
forwardedDuckDuckGoToken?: string;
|
|
forwardedFirefoxApiToken?: string;
|
|
forwardedFastmailApiToken?: string;
|
|
forwardedForwardEmailApiToken?: string;
|
|
forwardedForwardEmailDomain?: string;
|
|
forwardedSimpleLoginApiKey?: string;
|
|
forwardedSimpleLoginBaseUrl?: string;
|
|
};
|