rulvar API reference / @rulvar/store-sqlite / SqliteStoreOptions
Interface: SqliteStoreOptions
Defined in: packages/store-sqlite/src/store.ts:36
@rulvar/store-sqlite: SqliteStore implementing JournalStore and LeasableStore with fencing epochs over the builtin node:sqlite driver; the reference implementation for community stores (M5-T02). Requires a Node.js with node:sqlite available (unflagged in the 22.13+/23.4+ lines).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
now? | () => number | Injectable clock for lease-expiry tests. | packages/store-sqlite/src/store.ts:42 |
path | string | Database file path, or ':memory:' for an in-process store. | packages/store-sqlite/src/store.ts:38 |
ttlMs? | number | Lease ttl; default the Appendix A interim reference (60000 ms). | packages/store-sqlite/src/store.ts:40 |