[PR #3180] [MERGED] ♻️ (typescript) make category and rule types stricter #34921

Closed
opened 2026-04-20 21:59:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/3180
Author: @MatissJanis
Created: 8/2/2024
Status: Merged
Merged: 8/3/2024
Merged by: @MatissJanis

Base: masterHead: matiss/category-ts


📝 Commits (1)

  • 2d4059b ♻️ (typescript) make category and rule types stricter

📊 Changes

17 files changed (+174 additions, -70 deletions)

View changed files

📝 packages/desktop-client/src/components/budget/rollover/CoverMenu.tsx (+7 -5)
📝 packages/desktop-client/src/components/budget/rollover/TransferMenu.tsx (+7 -5)
📝 packages/desktop-client/src/components/filters/AppliedFilters.tsx (+1 -4)
📝 packages/desktop-client/src/components/filters/ConditionsOpMenu.tsx (+2 -2)
📝 packages/desktop-client/src/components/filters/FilterExpression.tsx (+10 -13)
📝 packages/desktop-client/src/components/filters/subfieldFromFilter.ts (+1 -1)
📝 packages/desktop-client/src/components/filters/updateFilterReducer.ts (+5 -2)
📝 packages/desktop-client/src/components/modals/CoverModal.tsx (+6 -4)
📝 packages/desktop-client/src/components/modals/TransferModal.tsx (+6 -4)
📝 packages/desktop-client/src/components/reports/ReportOptions.ts (+1 -1)
📝 packages/desktop-client/src/hooks/useFilters.ts (+10 -13)
📝 packages/loot-core/src/mocks/budget.ts (+18 -5)
📝 packages/loot-core/src/types/models/category-group.d.ts (+6 -2)
📝 packages/loot-core/src/types/models/category.d.ts (+1 -1)
📝 packages/loot-core/src/types/models/reports.d.ts (+2 -2)
📝 packages/loot-core/src/types/models/rule.d.ts (+85 -6)
upcoming-release-notes/3180.md (+6 -0)

📄 Description

Making Category and Rule types stricter and fixing the issues that arise.

Split off from: https://github.com/actualbudget/actual/pull/3108 and https://github.com/actualbudget/actual/pull/3178


🔄 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/3180 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 8/2/2024 **Status:** ✅ Merged **Merged:** 8/3/2024 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/category-ts` --- ### 📝 Commits (1) - [`2d4059b`](https://github.com/actualbudget/actual/commit/2d4059b989adfb92cc481e5528faf3d17c087bc3) :recycle: (typescript) make category and rule types stricter ### 📊 Changes **17 files changed** (+174 additions, -70 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/budget/rollover/CoverMenu.tsx` (+7 -5) 📝 `packages/desktop-client/src/components/budget/rollover/TransferMenu.tsx` (+7 -5) 📝 `packages/desktop-client/src/components/filters/AppliedFilters.tsx` (+1 -4) 📝 `packages/desktop-client/src/components/filters/ConditionsOpMenu.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/filters/FilterExpression.tsx` (+10 -13) 📝 `packages/desktop-client/src/components/filters/subfieldFromFilter.ts` (+1 -1) 📝 `packages/desktop-client/src/components/filters/updateFilterReducer.ts` (+5 -2) 📝 `packages/desktop-client/src/components/modals/CoverModal.tsx` (+6 -4) 📝 `packages/desktop-client/src/components/modals/TransferModal.tsx` (+6 -4) 📝 `packages/desktop-client/src/components/reports/ReportOptions.ts` (+1 -1) 📝 `packages/desktop-client/src/hooks/useFilters.ts` (+10 -13) 📝 `packages/loot-core/src/mocks/budget.ts` (+18 -5) 📝 `packages/loot-core/src/types/models/category-group.d.ts` (+6 -2) 📝 `packages/loot-core/src/types/models/category.d.ts` (+1 -1) 📝 `packages/loot-core/src/types/models/reports.d.ts` (+2 -2) 📝 `packages/loot-core/src/types/models/rule.d.ts` (+85 -6) ➕ `upcoming-release-notes/3180.md` (+6 -0) </details> ### 📄 Description Making `Category` and `Rule` types stricter and fixing the issues that arise. Split off from: https://github.com/actualbudget/actual/pull/3108 and https://github.com/actualbudget/actual/pull/3178 --- <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-20 21:59:29 -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#34921