@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.
35 lines (32 loc) • 744 B
text/typescript
export {
journalIdFromString,
journalIdToString,
randomJournalId,
randomJournalId256,
} from "./journal-id";
export { normalizeQuery, sql } from "./sql";
export { SQLSync } from "./sqlsync";
export { pendingPromise, serializeMutationAsJSON } from "./util";
import type {
ConnectionStatus,
DocId,
DocRequest,
HandlerId,
SqlValue,
} from "../sqlsync-wasm/pkg/sqlsync_wasm";
import type { JournalId } from "./journal-id";
import type { ParameterizedQuery } from "./sql";
import type { DocType, QuerySubscription } from "./sqlsync";
import type { Row } from "./types";
export type {
ConnectionStatus,
DocId,
DocRequest,
DocType,
HandlerId,
JournalId,
ParameterizedQuery,
QuerySubscription,
Row,
SqlValue,
};