[PR #1909] [MERGED] Add typings condition operators for Action class #4015

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1909
Author: @Marethyu1
Created: 11/15/2023
Status: Merged
Merged: 11/15/2023
Merged by: @MatissJanis

Base: masterHead: rules-typigns


📝 Commits (3)

  • c943ee7 Add typings for action operators in rules.tsx
  • 5bcac27 Revert "Add typings for action operators in rules.tsx"
  • 087dae2 Add typings for action operators in rules.tsx using typescript unions

📊 Changes

3 files changed (+12 additions, -4 deletions)

View changed files

📝 packages/loot-core/src/server/accounts/rules.test.ts (+1 -1)
📝 packages/loot-core/src/server/accounts/rules.ts (+5 -3)
upcoming-release-notes/1909.md (+6 -0)

📄 Description

this is an attempt to incrementally add typings to the rules.tsx class. I have started by adding types for the ActionOperator which is used by the Action class in rules.tsx.

This relates to #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/1909 **Author:** [@Marethyu1](https://github.com/Marethyu1) **Created:** 11/15/2023 **Status:** ✅ Merged **Merged:** 11/15/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `rules-typigns` --- ### 📝 Commits (3) - [`c943ee7`](https://github.com/actualbudget/actual/commit/c943ee79a9a2d19cdfac3faaadedb637f5147eb7) Add typings for action operators in rules.tsx - [`5bcac27`](https://github.com/actualbudget/actual/commit/5bcac27c14c386d40709cb25b7251db25e054f35) Revert "Add typings for action operators in rules.tsx" - [`087dae2`](https://github.com/actualbudget/actual/commit/087dae256cf027a6a591ef723fecb408cad1a7e6) Add typings for action operators in rules.tsx using typescript unions ### 📊 Changes **3 files changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/accounts/rules.test.ts` (+1 -1) 📝 `packages/loot-core/src/server/accounts/rules.ts` (+5 -3) ➕ `upcoming-release-notes/1909.md` (+6 -0) </details> ### 📄 Description this is an attempt to incrementally add typings to the rules.tsx class. I have started by adding types for the ActionOperator which is used by the Action class in rules.tsx. This relates to #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 20:50:19 -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#4015