451-tools
Version:
Censorship resilient and distributed publishing: informed by the needs of publishers and their audiences, More Mirrors implements a set of offline fallback strategies for censorship resilient websites.
10 lines (9 loc) • 424 B
TypeScript
export function fetchAndCacheConfiguration({ configurationFilePath, serviceWorkerController }: {
configurationFilePath: any;
serviceWorkerController: any;
}): Promise<any>;
export function saveConfiguration({ configuration, serviceWorkerController }: {
configuration: any;
serviceWorkerController: any;
}): Promise<Response>;
export function refreshConfiguration(serviceWorkerController: any): Promise<any>;