Skip to main content

Interface: SelectorResolverPlugin

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

Main plugin interface for selector resolution

Plugins must implement this interface and export it as default.

Properties

name

name: string;

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

Plugin name/identifier


version

version: string;

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

Plugin version

Methods

healthCheck()?

optional healthCheck(): Promise<HealthCheckResult>;

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

Optional: Check if the plugin is available and properly configured Useful for early detection of missing dependencies or configuration issues

Returns

Promise<HealthCheckResult>

Health check result


resolve()

resolve(context): Promise<Resolution>;

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

Resolve a selector using the plugin's strategy

Parameters

context

ResolveContext

Resolution context (includes probe for liveness checking)

Returns

Promise<Resolution>

Resolution result