@treecg/curation
Version:
This library implements a class (Curator) with methods to curate an announcement LDES in LDP.
21 lines (20 loc) • 655 B
TypeScript
import { Store } from "n3";
export declare function solidUrl(): string;
/**
* Start a solid server with public AC and file backend
* @returns {Promise<void>}
*/
export declare function runSolid(): Promise<void>;
/**
* Finishes if the CSS is already running
* @returns {Promise<void>}
*/
export declare function isRunning(): Promise<void>;
export declare function sleep(ms: number): Promise<any>;
/**
* Convert a file as a store (given a path). Default will use text/turtle as content type
* @param path
* @param contentType
* @returns {Promise<Store>}
*/
export declare function fileAsStore(path: string, contentType?: string): Promise<Store>;