Interface AdapterInterface

interface AdapterInterface {
    extractContentForCheck(
        opts: ExtractContentForCheckOpts,
    ): ContentExtractionResult | Promise<ContentExtractionResult>;
    getAutobindWrapperAttributes(): AutobindWrapperAttributes;
    getContent(opts: ExtractContentForCheckOpts): string;
    getFormat(): string;
    onInitFinished(result: InitResult): void;
    registerCheckCall(checkInfo: Check): void;
    registerCheckResult(checkResult: SuccessfulCheckResult): void;
    replaceRanges(
        checkId: string,
        matchesWithReplacement: MatchWithReplacement[],
    ): void;
    selectRanges(checkId: string, matches: Match[]): void;
}

Hierarchy (View Summary)

Implemented by

Methods

  • Parameters

    • checkId: string
    • matchesWithReplacement: MatchWithReplacement[]

    Returns void