@a11ywatch/core
Version:
a11ywatch central API
28 lines (27 loc) • 924 B
TypeScript
import type { PageMindScanResponse } from "../../types/schema";
export interface ScanRpcParams {
url: string;
userId?: number;
pageHeaders?: any[];
pageInsights?: boolean;
mobile?: boolean;
standard?: string;
ua?: string;
actions?: string[];
cv?: boolean;
pageSpeedApiKey?: string;
html?: string;
firefox?: boolean;
ignore?: string[];
rules?: string[];
runners?: string[];
}
export declare const scan: (website?: ScanRpcParams) => Promise<PageMindScanResponse>;
export declare const crawlerScan: (website?: {}) => Promise<unknown>;
export declare const crawlerCrawl: (website?: {}) => Promise<unknown>;
export declare const controller: {
scan: (website?: ScanRpcParams) => Promise<PageMindScanResponse>;
crawlerScan: (website?: {}) => Promise<unknown>;
crawlerCrawl: (website?: {}) => Promise<unknown>;
parseImg: (img?: {}) => Promise<unknown>;
};