opds-web-client
Version:
19 lines (18 loc) • 545 B
TypeScript
import { PathFor } from "./interfaces";
import AuthPlugin from "./AuthPlugin";
import "./stylesheets/app.scss";
declare class OPDSWebClient {
elementId: string;
pathPattern: string;
RouteHandler: any;
constructor(config: {
headerTitle?: string;
proxyUrl?: string;
authPlugins?: AuthPlugin[];
pageTitleTemplate?: (collectionTitle: string, bookTitle: string) => string;
pathPattern?: string;
pathFor: PathFor;
}, elementId: string);
render(): void;
}
export = OPDSWebClient;