[PR #2738] Add crdt to the API package to fix types #4483

Closed
opened 2026-02-28 20:56:23 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/2738

State: closed
Merged: Yes


  • This way we get the crdt types available to users when they use the api
    • Otherwise they may have gotten missing type errors from typescript regarding the server/sync code from loot-core.

Instead of adding crdt as a dependency, I did confirm we could generate just the crdt types and copy them into the api like we do for loot-core. But then we still get an error regarding the google-protobuf types missing. Which is fixed by adding google-protobuf to our api dependencies. Being that a dependency needed to be added to the api either way, I just did the crdt one for now (which includes the google-protobuf dependency)

I believe this is the final unblocker for shipping the types with the API in https://github.com/actualbudget/actual/pull/2559

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2738 **State:** closed **Merged:** Yes --- - This way we get the crdt types available to users when they use the api * Otherwise they may have gotten missing type errors from typescript regarding the server/sync code from loot-core. Instead of adding crdt as a dependency, I did confirm we could generate just the crdt types and copy them into the api like we do for loot-core. But then we still get an error regarding the google-protobuf types missing. Which is fixed by adding google-protobuf to our api dependencies. Being that a dependency needed to be added to the api either way, I just did the crdt one for now (which includes the google-protobuf dependency) I believe this is the final unblocker for shipping the types with the API in https://github.com/actualbudget/actual/pull/2559
GiteaMirror added the pull-request label 2026-02-28 20:56:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4483