ProgressNotification interface exported ✓ 100.0%
Last updated: 2026-03-04T23:21:38.399Z
Metrics
LOC: 21
Complexity: 1
Params: 0
Coverage: 100.0% (1/1 lines, 0x executed)
Signature
interface ProgressNotification
Source Code
export interface ProgressNotification {
show(): void;
/** Show a spinner row indicating the AI is generating values (batch mode) */
showAiGenerating(): void;
/** Remove the AI generating spinner row */
hideAiGenerating(): void;
/** Add field — shows spinner while detecting */
addDetecting(field: FormField): void;
/** Update field — detection done, shows type badge */
updateDetected(field: FormField): void;
/** Mark field as filling — shows spinner */
addFilling(field: FormField): void;
/** Update field — fill done */
updateFilled(field: FormField, result: GenerationResult): void;
/** Mark field as errored */
updateError(field: FormField, error?: string): void;
/** Show final summary and auto-hide */
done(totalFilled: number, totalFields: number): void;
/** Remove immediately */
destroy(): void;
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| FormField | uses |
| GenerationResult | uses |
| t | uses |
No incoming dependencies.