Skip to main content

Interface: SelectorResolverPlugin

Defined in: index.ts:182

Main plugin interface for selector resolution

Plugins must implement this interface and export it as default.

Properties

name

name: string;

Defined in: index.ts:186

Plugin name/identifier


version

version: string;

Defined in: index.ts:191

Plugin version

Methods

healthCheck()?

optional healthCheck(): Promise<HealthCheckResult>;

Defined in: index.ts:207

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: index.ts:199

Resolve a selector using the plugin's strategy

Parameters

context

ResolveContext

Resolution context (includes probe for liveness checking)

Returns

Promise<Resolution>

Resolution result