@a11ywatch/core
Version:
a11ywatch central API
15 lines (14 loc) • 547 B
TypeScript
import type { ServerWritableStream } from "@grpc/grpc-js";
import { CrawlParams } from "../../core/actions/accessibility/watcher_crawl";
declare type ServerCallStreaming = ServerWritableStream<{
url: string;
authorization: string;
subdomains: boolean;
tld: boolean;
sitemap: boolean;
}, {}>;
export declare const coreCrawl: (call: ServerCallStreaming) => Promise<ServerCallStreaming>;
export declare const crawlStreaming: (props: CrawlParams & {
norobo?: boolean;
}, call: ServerCallStreaming) => Promise<void>;
export {};