@mx-cartographer/experiences 6.17.1-alpha.mega1 → 6.17.1-alpha.mega2
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.
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Tag, Transaction } from '../../common';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* be injected into `sortedTransactions`. To avoid duplication during the merge
|
|
8
|
-
* with `allTransactions`, we skip any transactions that have already been included.
|
|
3
|
+
* Produces a list of transactions based on the given sorted transactions,
|
|
4
|
+
* where parent transactions that have split children are replaced by those
|
|
5
|
+
* children sorted by descending absolute amount. All other transactions
|
|
6
|
+
* are included as-is, with duplicates removed.
|
|
9
7
|
*/
|
|
10
|
-
export declare
|
|
8
|
+
export declare function flattenTransactionsWithSplits(sortedTransactions: Transaction[], allTransactions: Transaction[]): Transaction[];
|
|
11
9
|
export declare const exportTransactionsToCSV: (transactions: Transaction[], tags: Tag[]) => void;
|