timer-db
Version:
A library for cubing timer results storage with CouchDB-based synchronization.
13 lines • 454 B
TypeScript
import { EventName } from "./data/Attempt";
import { Session, SessionCreationOptions } from "./Session";
export declare class TimerDB {
private storage;
constructor();
startSync(params: {
username: string;
password: string;
}): void;
getSessions(): Promise<Session[]>;
createSession(sessionName: string, event: EventName, options?: SessionCreationOptions): Promise<Session>;
}
//# sourceMappingURL=TimerDB.d.ts.map