1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00
Files
browser/libs/common/src/tools/generator/username/catchall-generator-options.ts
2024-02-12 10:27:47 -05:00

11 lines
335 B
TypeScript

/** Settings supported when generating an email subaddress */
export type CatchallGenerationOptions = {
type?: "random" | "website-name";
domain?: string;
};
/** The default options for email subaddress generation. */
export const DefaultCatchallOptions: Partial<CatchallGenerationOptions> = Object.freeze({
type: "random",
});