@orbitinghail/sqlsync-worker
Version:
SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.
8 lines (7 loc) • 325 B
TypeScript
export type JournalId = Uint8Array & {
readonly __newtype: unique symbol;
};
export declare function randomJournalId(): JournalId;
export declare function randomJournalId256(): JournalId;
export declare function journalIdToString(id: JournalId): string;
export declare function journalIdFromString(s: string): JournalId;