PageDetector interface presentation exported
Last updated: 2026-03-01T23:35:47.796Z
Metrics
LOC: 3
Complexity: 1
Params: 0
Signature
interface PageDetector
Summary
A detector that scans the page and produces a flat list of FormFields. Contrast with FieldClassifier, which classifies a single, already-found field. Implementations should be stateless and operate on document directly. input is void — the page is the implicit context.
Source Code
export interface PageDetector extends Detector<void, FormField[]> {
readonly name: string;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| getActiveClassifiers | uses |
| makeField | uses |