mirror of
https://github.com/actualbudget/actual.git
synced 2026-11-09 10:45:04 -06:00
101eb4f8b8
* phase 2 * fix deploy * [autofix.ci] apply automated fixes * Trim the storage layer after review * Keep the legacy database openable after a failed migration and release the pool on a failed open * Copy the legacy database as one snapshot and share pool acquisition between concurrent opens * Reject impossible page sizes and share one open per file * Ask for OPFS whenever any budget has moved * Share the budget lock from the legacy engine so migrations wait for it * Release the legacy lock on a failed open, commit marker writes, keep unsaved snapshots and prefer the fallback row * feedback * bit of hardening * nit * feedback * feedback * feedback * feedback * feedback * fix some minor issues * minor nit * cover removal and check marker survives * directory removal now checks every db in teh tree before deleting everything * batch removal * copilot feedback * minor nit * add no op flushSqliteStorage for electron * more copilot feedback * legcy directory removal fix * rabbit feedback * feedback --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
npm install @actual-app/api
View docs here: https://actualbudget.org/docs/api/
TypeScript
@actual-app/api publishes TypeScript declarations. Consumers using TypeScript must set moduleResolution to "bundler", "nodenext", or "node16" in their tsconfig.json. Legacy "node" / "node10" / "classic" resolution is not supported in strict mode — the published declarations rely on package.json exports conditions that older resolvers don't honor.