Settings interface exported
Last updated: 2026-03-05T10:53:28.867Z
Location
Metrics
LOC: 51
Complexity: 1
Params: 0
Signature
interface Settings
Summary
Extension settings
Source Code
export interface Settings {
/** Whether to auto-fill on page load */
autoFillOnLoad: boolean;
/** Default generation strategy */
defaultStrategy: "ai" | "tensorflow" | "random";
/** Whether to use Chrome built-in AI when available */
useChromeAI: boolean;
/** When true, AI is tried before saved forms, rules and generators */
forceAIFirst: boolean;
/** Keyboard shortcut to trigger fill */
shortcut: string;
/** Locale for generated data */
locale: "pt-BR" | "en-US";
/** Whether to highlight filled fields */
highlightFilled: boolean;
/** Whether to enable field detection cache */
cacheEnabled: boolean;
/** Whether to show the per-field fill/inspect icon */
showFieldIcon: boolean;
/** Position of the field icon relative to the input */
fieldIconPosition: "above" | "inside" | "below";
/** Ordered list of classification strategies */
detectionPipeline: DetectionStrategyEntry[];
/** Whether debug logging is enabled (all console output is suppressed when false) */
debugLog: boolean;
/** Minimum log level to output: debug < info < warn < error */
logLevel: "debug" | "info" | "warn" | "error";
/** Maximum number of log entries to keep in the persistent log store (50–5000) */
logMaxEntries: number;
/** Preferred UI language. "auto" follows the browser/Chrome locale. */
uiLanguage: "auto" | "en" | "pt_BR" | "es";
/** When true, only empty fields are filled — fields with an existing value are skipped */
fillEmptyOnly: boolean;
/** Whether to auto-start the DOM watcher when the page loads */
watcherEnabled: boolean;
/** Debounce interval in ms for the DOM watcher (100–5000) */
watcherDebounceMs: number;
/** Whether the DOM watcher should auto-refill new fields */
watcherAutoRefill: boolean;
/** Whether the DOM watcher should observe inside Shadow DOM trees (experimental) */
watcherShadowDOM: boolean;
/** Timeout in ms for AI field generation calls (2000–15000) */
aiTimeoutMs: number;
/** When true, shows a persistent AI badge on fields filled by AI (can be dismissed) */
showAiBadge: boolean;
/** When true, shows a brief toast notification after filling all fields */
showFillToast: boolean;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| main | uses |
| debounce | uses |
| setNativeValue | uses |
| parseIncomingMessage | uses |
| getSettings | uses |
| makeInput | uses |