Skip to content

@typedblite/runtime: Interfaces

Interfaces that @typedblite/runtime exports.

Name Description
ChangeLog A store’s change log: every committed change as a revision, in commit order, with each thing’s revision tree, its conflicts, compaction, and the full-text index kept with it.
ChangeRecord One revision in the change log: what since() returns, and what replication sends.
ChangeStreamClientOptions How a ChangeStreamClient connects and retries.
ChangeStreamHandlers What a subscription calls as the hub’s stream delivers changes and as its own state changes.
ChangeStreamOptions How a hub serves its change stream: polling, batch size, port and the limits that protect it.
ChangeStreamSubscription A running subscription to a hub’s change stream.
CompactionOptions How much history compact may keep behind each leaf.
CompactionReport What compact did.
EngineRow One result row, shaped the way rowString and rowNumber read it.
EntityIdentity What a thing is, resolved to node-independent terms.
ExecutionReport What running a statement reports besides its rows: facts about the run, and the diagnostics of a refusal.
QueryTrace What the engine did for ONE query() call — counts, never times, so a regression test can assert that a join is not a cartesian product (a real performance defect: one subSkillsIn call evaluated ~211,000 combinations and took 32 s).
ReplicateOptions How replicateOnce replicates.
ReplicationEndpoint What replication needs of a store.
ReplicationEvents What a continuous replication reports as it runs.
ReplicationOptions How TypeDBLiteReplicator replicates.
ReplicationSession A running continuous replication.
SearchHit One result of a full-text search.
SqliteDatabase The synchronous SQLite surface TypeDBLite’s interpreter runs against.
SqliteRunResult What run reports.
SqliteStatement A prepared statement.
SyncCursor A position in each direction’s log.
SyncOutcome What one replication did.
TypeDBLiteOptions How an interpreter opens its database and runs queries: the third argument of its constructor.
TypeDBLiteSchemaSnapshot The schema applied to a database, as sorted lists: what schemaSnapshot() returns.
WriteReport What execute() reports: its diagnostics, and what its last write pipeline answers.

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.