Skip to content
Snippets Groups Projects
  1. Jan 20, 2024
    • DJ Mountney's avatar
      Bundle loot-core types into the API (#2053) · 0045d921
      DJ Mountney authored
      
      * Bundle loot-core types into the API
      
      So we can have loot-core be the source of truth
      for some types that get passed through
      
      - Improves downstream development with API by including types
      - Use path aliases for dist vs dev tsconfigs
      - Convert api index to typescript as example
      - Permit ts-ignore for issues with our version of typescript
      
      ---------
      
      Co-authored-by: default avatarMatiss Janis Aboltins <matiss@mja.lv>
      Unverified
      0045d921
  2. Jan 09, 2024
  3. Jan 06, 2024
  4. Dec 02, 2023
  5. Nov 28, 2023
  6. Nov 20, 2023
  7. Nov 14, 2023
  8. Sep 03, 2023
  9. Aug 07, 2023
  10. Aug 02, 2023
  11. Jul 29, 2023
  12. Jul 09, 2023
  13. Jun 28, 2023
  14. Jun 26, 2023
  15. Jun 01, 2023
  16. May 24, 2023
  17. May 16, 2023
  18. May 04, 2023
  19. Apr 10, 2023
    • Alberto Gasparin's avatar
      Convert commonjs to esm (#877) · cd00da76
      Alberto Gasparin authored
      This PR converts everything (aside from electron) from CommonJS to ESM.
      It is needed to reduce the changes that will happen during the migration
      to Typescript (as TS does not play nice with CJS).
      
      Basically:
      - rewrite `require()` to `import`
      - rewrite `module.exports` to `exports`
      - introduce `ts-node` to run importers so we can convert them to TS too
      
      Lastly, sorry for this larg-ish PR, not my preference but when I tried
      to reduce its scope, I would end up with mixed commons/esm that was even
      more tricky to handle.
      Unverified
      cd00da76
  20. Apr 09, 2023
  21. Apr 07, 2023
  22. Apr 06, 2023
  23. Mar 09, 2023
  24. Feb 28, 2023
  25. Feb 24, 2023
    • Jed Fox's avatar
      Updates to the @actual-budget/api package (#464) · 93a1f8a9
      Jed Fox authored
      * Make it easier to build the bundle.api.js for the API
      
      * Remove budgetId parameter, move config to top level of API
      
      * that’s a breaking change
      
      * Add support for signing into the server in init()
      
      * Add api.downloadBudget(syncId, { password }) method
      
      * Fix lint errors
      
      * Refactor: extract out getSyncError
      
      * api/download-budget: sync if possible instead of downloading
      
      * Don’t bother with fetching remote files and installing key if the file is local
      
      * *groupId
      
      * FIx lint issues
      
      * Remove extra close+reopen
      
      * Refactor out duplicate load-budget logic
      
      * Trailing commas
      Unverified
      93a1f8a9
  26. Feb 02, 2023
  27. Dec 08, 2022
  28. Dec 04, 2022
  29. Jun 29, 2022
  30. Apr 29, 2022
Loading