[PR #4720] [MERGED] [Proposal] Enhance transaction import functionality with new Transaction type and type annotations #5555

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4720
Author: @baruchiro
Created: 4/1/2025
Status: Merged
Merged: 6/5/2025
Merged by: @matt-fidd

Base: masterHead: master


📝 Commits (9)

  • bc63583 Enhance transaction import functionality with new Transaction type and type annotations
  • ce008b4 release notes
  • 3ad0af1 fixes for PR
  • 4ec9035 Merge branch 'master' into master
  • e501f86 Merge branch 'master' into master
  • d9fc37c move transaction type as requested by @MatissJanis
  • d132307 type importTransaction return value
  • d6b2e57 Merge remote-tracking branch 'upstream/master'
  • 0bd6d89 Merge branch 'master' into master

📊 Changes

6 files changed (+103 additions, -13 deletions)

View changed files

📝 packages/api/methods.test.ts (+35 -5)
📝 packages/api/methods.ts (+3 -2)
📝 packages/loot-core/src/server/accounts/app.ts (+1 -1)
📝 packages/loot-core/src/types/api-handlers.ts (+2 -5)
packages/loot-core/src/types/models/import-transaction.d.ts (+56 -0)
upcoming-release-notes/4720.md (+6 -0)

📄 Description

Added TypeScript types for transaction imports

Added TypeScript type definitions for the importTransactions API method and introduced a new Transaction interface. This change:

  • Adds strict typing for importTransactions parameters
  • Documents all possible fields for transaction imports
  • Makes it easier to understand what fields are required vs optional when importing transactions

This is a non-breaking change that improves type safety and developer experience when working with transaction imports.

#1483


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4720 **Author:** [@baruchiro](https://github.com/baruchiro) **Created:** 4/1/2025 **Status:** ✅ Merged **Merged:** 6/5/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (9) - [`bc63583`](https://github.com/actualbudget/actual/commit/bc635834531115025c9966cf0390b46286ba5533) Enhance transaction import functionality with new Transaction type and type annotations - [`ce008b4`](https://github.com/actualbudget/actual/commit/ce008b4e80f1da8da95eba79eefd8aeb0968b570) release notes - [`3ad0af1`](https://github.com/actualbudget/actual/commit/3ad0af1285860e62261923abe699e38a5b5cd4c0) fixes for PR - [`4ec9035`](https://github.com/actualbudget/actual/commit/4ec90359c09dd12a58d7a16621e1ed2f959581cd) Merge branch 'master' into master - [`e501f86`](https://github.com/actualbudget/actual/commit/e501f86e77c34491ea6c13080912f6dedb13fd75) Merge branch 'master' into master - [`d9fc37c`](https://github.com/actualbudget/actual/commit/d9fc37c5f4b0ee710aefa760b50efae4e5ba2404) move transaction type as requested by @MatissJanis - [`d132307`](https://github.com/actualbudget/actual/commit/d1323072c794255bdcfa45bbbc7e549209c9d69e) type importTransaction return value - [`d6b2e57`](https://github.com/actualbudget/actual/commit/d6b2e5770f63feb0738da9372b3650e2c2529599) Merge remote-tracking branch 'upstream/master' - [`0bd6d89`](https://github.com/actualbudget/actual/commit/0bd6d89f558522eea78940462047aa7a256d5d54) Merge branch 'master' into master ### 📊 Changes **6 files changed** (+103 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/methods.test.ts` (+35 -5) 📝 `packages/api/methods.ts` (+3 -2) 📝 `packages/loot-core/src/server/accounts/app.ts` (+1 -1) 📝 `packages/loot-core/src/types/api-handlers.ts` (+2 -5) ➕ `packages/loot-core/src/types/models/import-transaction.d.ts` (+56 -0) ➕ `upcoming-release-notes/4720.md` (+6 -0) </details> ### 📄 Description Added TypeScript types for transaction imports Added TypeScript type definitions for the `importTransactions` API method and introduced a new `Transaction` interface. This change: - Adds strict typing for `importTransactions` parameters - Documents all possible fields for transaction imports - Makes it easier to understand what fields are required vs optional when importing transactions This is a non-breaking change that improves type safety and developer experience when working with transaction imports. #1483 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:14:20 -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#5555