@a11ywatch/core
Version:
a11ywatch central API
85 lines (84 loc) • 2.08 kB
TypeScript
export declare const addWebsite: ({ userId, url, customHeaders, canScan, pageInsights, mobile, ua, standard, actions, robots, subdomains, tld, ignore, rules, runners, proxy, sitemap, monitoringEnabled, }: {
userId: any;
url: any;
customHeaders: any;
canScan: any;
pageInsights: any;
mobile: any;
ua: any;
standard: any;
actions: any;
robots?: boolean;
subdomains?: boolean;
tld?: boolean;
ignore?: any[];
rules?: any[];
runners?: any[];
proxy?: string;
sitemap?: boolean;
monitoringEnabled?: boolean;
}) => 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;
}>;
export declare const addWebsiteWrapper: (params: any) => Promise<{
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;
}>;