[PR #1677] [MERGED] ♻️ moving rule server actions to separate file #3891

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1677
Author: @MatissJanis
Created: 9/9/2023
Status: Merged
Merged: 9/22/2023
Merged by: @MatissJanis

Base: masterHead: matiss/move-rules-actions


📝 Commits (4)

  • 90cb6d3 ♻️ moving rule server actions to separate file
  • 4150fe6 Release notes
  • 9f854a5 Fix lint
  • dfadc5f Merge branch 'master' into matiss/move-rules-actions

📊 Changes

11 files changed (+293 additions, -189 deletions)

View changed files

📝 packages/desktop-client/src/components/rules/ActionExpression.tsx (+38 -22)
📝 packages/desktop-client/src/components/rules/RuleRow.tsx (+1 -4)
📝 packages/loot-core/src/server/accounts/transaction-rules.ts (+16 -5)
📝 packages/loot-core/src/server/accounts/transactions.ts (+2 -2)
📝 packages/loot-core/src/server/errors.ts (+2 -2)
📝 packages/loot-core/src/server/main.ts (+3 -126)
packages/loot-core/src/server/rules/app.ts (+157 -0)
packages/loot-core/src/server/rules/types/handlers.ts (+49 -0)
📝 packages/loot-core/src/types/models/rule.d.ts (+19 -8)
📝 packages/loot-core/src/types/server-handlers.d.ts (+0 -20)
upcoming-release-notes/1677.md (+6 -0)

📄 Description

Moving rule server actions to a separate file (no functional changes; just moving to a separate file to improve maintainability).

Plus making the types a bit more strict by removing any and unknown.

Related to: #1113


🔄 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/1677 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 9/9/2023 **Status:** ✅ Merged **Merged:** 9/22/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/move-rules-actions` --- ### 📝 Commits (4) - [`90cb6d3`](https://github.com/actualbudget/actual/commit/90cb6d3eaed4328318be2feb95316f6f5e62133e) :recycle: moving rule server actions to separate file - [`4150fe6`](https://github.com/actualbudget/actual/commit/4150fe6f89b6362aedcc0a1be50e918a6b0358db) Release notes - [`9f854a5`](https://github.com/actualbudget/actual/commit/9f854a55b23f521d7e150b64bf0e47b9485f9f2b) Fix lint - [`dfadc5f`](https://github.com/actualbudget/actual/commit/dfadc5f176b0b48498ce2d5d65fddffbe55d1f23) Merge branch 'master' into matiss/move-rules-actions ### 📊 Changes **11 files changed** (+293 additions, -189 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/rules/ActionExpression.tsx` (+38 -22) 📝 `packages/desktop-client/src/components/rules/RuleRow.tsx` (+1 -4) 📝 `packages/loot-core/src/server/accounts/transaction-rules.ts` (+16 -5) 📝 `packages/loot-core/src/server/accounts/transactions.ts` (+2 -2) 📝 `packages/loot-core/src/server/errors.ts` (+2 -2) 📝 `packages/loot-core/src/server/main.ts` (+3 -126) ➕ `packages/loot-core/src/server/rules/app.ts` (+157 -0) ➕ `packages/loot-core/src/server/rules/types/handlers.ts` (+49 -0) 📝 `packages/loot-core/src/types/models/rule.d.ts` (+19 -8) 📝 `packages/loot-core/src/types/server-handlers.d.ts` (+0 -20) ➕ `upcoming-release-notes/1677.md` (+6 -0) </details> ### 📄 Description Moving `rule` server actions to a separate file (no functional changes; just moving to a separate file to improve maintainability). Plus making the types a bit more strict by removing `any` and `unknown`. Related to: #1113 --- <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:48: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#3891