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)

graph LR ProgressNotification["ProgressNotification"] FormField["FormField"] GenerationResult["GenerationResult"] t["t"] ProgressNotification -->|uses| FormField ProgressNotification -->|uses| GenerationResult ProgressNotification -->|uses| t style ProgressNotification fill:#dbeafe,stroke:#2563eb,stroke-width:2px click ProgressNotification "945c3ad3e492ce5e.html" click FormField "85cdbded927c91b0.html" click GenerationResult "9ad440b3e1a4d329.html" click t "8e8864a3c5cfd1e1.html"
TargetType
FormField uses
GenerationResult uses
t uses

No incoming dependencies.