@mx-cartographer/experiences 6.26.12 → 6.26.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [6.26.14] - 09-05-2025
2
+
3
+ - **FIXED** - Upcoming Calculations Bug in `Recurring Transactions`
4
+
5
+ ## [6.26.13] - 09-04-2025
6
+
7
+ - **ADDED** - detailed categories with transactions to category and trends stores
8
+
1
9
  ## [6.26.12] - 09-04-2025
2
10
 
3
11
  - **FIXED** - Responsive TrendsChartTotals height on desktop layout
@@ -1,4 +1,4 @@
1
- import { Account, CategoryApi, Category, DetailedCategory, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
1
+ import { Account, CategoryApi, Category, DetailedCategory, DetailedCategoryWithTransactions, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
2
2
  import { UiStore } from './UiStore';
3
3
  export declare class CategoryStore {
4
4
  globalStore: GlobalStore;
@@ -12,6 +12,7 @@ export declare class CategoryStore {
12
12
  monthlyTotalsLoaded: boolean;
13
13
  constructor(globalStore: GlobalStore);
14
14
  get detailedCategories(): DetailedCategory[];
15
+ get detailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[];
15
16
  get incomeCategories(): DetailedCategory[];
16
17
  get spendCategories(): DetailedCategory[];
17
18
  get transferCategories(): DetailedCategory[];
@@ -1,5 +1,5 @@
1
1
  import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTotals } from '../../common';
2
+ import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction } from '../../common';
3
3
  /**
4
4
  * Augment categories
5
5
  * @param categories - Categories to augment
@@ -9,3 +9,9 @@ import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTot
9
9
  export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
10
10
  export declare const getCategoryColor: (guid: string, theme: Theme) => string;
11
11
  export declare const getCategoryIcon: (guid: string) => string | undefined;
12
+ /**
13
+ * get the transactions belonging to parent categories
14
+ * @param detailedCategories - detailed categories from the category store
15
+ * @param transactions - sortedTransactions from the transaction store
16
+ */
17
+ export declare const getDetailedCategoryTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[];
@@ -55,6 +55,9 @@ export interface DetailedCategory extends Category {
55
55
  totalAverageAmount: number;
56
56
  totalMonthlyAmounts: MonthlyAmount[];
57
57
  }
58
+ export interface DetailedCategoryWithTransactions extends DetailedCategory {
59
+ transactions: Transaction[];
60
+ }
58
61
  export interface CategoryListItem {
59
62
  guid: string;
60
63
  name: string;
@@ -6,7 +6,7 @@ export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
- export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
9
+ export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
10
  export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
11
11
  export type { DateType, DateRange } from './Date';
12
12
  export type { Expense } from './Expense';