Skip to main content

Interface: Resolution

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:63

Result of selector resolution

Properties

error?

optional error: string;

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:94

Error message if resolution failed (non-fatal)


plugin?

optional plugin: string;

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:90

Plugin identifier that performed the resolution

Deprecated

Use plugin name from SelectorResolverPlugin instead


reasons?

optional reasons: string[];

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:80

Human-readable reasons for the resolution choice


selector

selector: string;

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:67

The resolved selector (may be same as initial if no better selector found)


stabilityScore?

optional stabilityScore: number;

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:76

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: packages/uimatch-selector-spi/dist/index.d.ts:71

Optional subselector for child elements (used with Figma auto-ROI)


updatedAnchors?

optional updatedAnchors: object;

Defined in: packages/uimatch-selector-spi/dist/index.d.ts:85

Updated anchors data structure (caller handles JSON.stringify and formatting). Only present if writeBack=true and update was performed.