Interface: Resolution
Defined in: index.ts:73
Result of selector resolution
Properties
error?
optional error: string;
Defined in: index.ts:110
Error message if resolution failed (non-fatal)
plugin?
optional plugin: string;
Defined in: index.ts:105
Plugin identifier that performed the resolution
Deprecated
Use plugin name from SelectorResolverPlugin instead
reasons?
optional reasons: string[];
Defined in: index.ts:93
Human-readable reasons for the resolution choice
selector
selector: string;
Defined in: index.ts:77
The resolved selector (may be same as initial if no better selector found)
stabilityScore?
optional stabilityScore: number;
Defined in: index.ts:88
Stability score for the resolved selector (0-100 scale, consistent with DFS/SFS/CQI metrics). Higher is more stable.
subselector?
optional subselector: string;
Defined in: index.ts:82
Optional subselector for child elements (used with Figma auto-ROI)
updatedAnchors?
optional updatedAnchors: object;
Defined in: index.ts:99
Updated anchors data structure (caller handles JSON.stringify and formatting). Only present if writeBack=true and update was performed.