@a11ywatch/core
Version:
a11ywatch central API
54 lines (53 loc) • 1.36 kB
TypeScript
export declare const addWebsite: (_: any, { url, customHeaders, pageInsights, mobile, ua, standard, actions, robots, subdomains, tld, ignore, rules, runners, proxy, sitemap, monitoringEnabled, ...props }: {
[x: string]: any;
url: any;
customHeaders: any;
pageInsights: any;
mobile: any;
ua: any;
standard: any;
actions: any;
robots: any;
subdomains: any;
tld: any;
ignore: any;
rules: any;
runners: any;
proxy: any;
sitemap: any;
monitoringEnabled: any;
}, context: any) => Promise<{
website: {
actions: any;
userId: any;
url: string;
domain: string;
pageInsights: boolean;
pageHeaders: any[];
pageLoadTime: {
duration: number;
durationFormated: string;
color: string;
};
lastScanDate: string;
online: boolean;
ua: string;
mobile: boolean;
standard: string;
actionsEnabled: boolean;
monitoringEnabled: boolean;
robots: boolean;
subdomains: boolean;
tld: boolean;
order: number;
verified: boolean;
verificationCode: string;
ignore: any[];
rules: any[];
runners: any[];
proxy: string;
};
code: number;
success: boolean;
message: string;
}>;