[PR #6331] [MERGED] Fix: Update methods to match TypeScript type for aqlQuery #40879

Closed
opened 2026-04-23 13:41:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6331
Author: @BHChen24
Created: 12/8/2025
Status: Merged
Merged: 12/15/2025
Merged by: @joel-jeremy

Base: masterHead: fix/6290-API-incompatible-Typescript-type-for-aqlQuery


📝 Commits (1)

  • 37871f5 fix: Update methods to match TypeScript type

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 packages/api/app/query.js (+8 -0)
upcoming-release-notes/6331.md (+6 -0)

📄 Description

Fixes #6290

Hi actual team,

According to the issue I added two more methods: "reset" and "serializeAsString" to class "Query."

Tested by:

  1. cd to api folder
  2. Create a test file with the code from the issue (maybe need a mock tx object)
  3. Run npx tsc {your test file name}.ts --noEmit --skipLibCheck
  4. Verify no TypeScript errors (previously would fail with "missing properties: reset, serializeAsString")

This is my first time contributing to actual, any feedback or guidance would be greatly appreciated. Thanks!


🔄 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/6331 **Author:** [@BHChen24](https://github.com/BHChen24) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `fix/6290-API-incompatible-Typescript-type-for-aqlQuery` --- ### 📝 Commits (1) - [`37871f5`](https://github.com/actualbudget/actual/commit/37871f51b512a7cd6d0f0926a168a7a7a0c95308) fix: Update methods to match TypeScript type ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/app/query.js` (+8 -0) ➕ `upcoming-release-notes/6331.md` (+6 -0) </details> ### 📄 Description Fixes #6290 Hi actual team, According to the issue I added two more methods: "reset" and "serializeAsString" to class "Query." Tested by: 1. cd to api folder 2. Create a test file with the code from the issue (maybe need a mock `tx` object) 3. Run `npx tsc {your test file name}.ts --noEmit --skipLibCheck` 4. Verify no TypeScript errors (previously would fail with "missing properties: reset, serializeAsString") This is my first time contributing to actual, any feedback or guidance would be greatly appreciated. Thanks! --- <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-04-23 13:41:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#40879