@mx-cartographer/experiences 6.17.0 → 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.
|
@@ -29,6 +29,7 @@ export declare class TransactionStore {
|
|
|
29
29
|
constructor(globalStore: GlobalStore);
|
|
30
30
|
loadTransactionData: () => Promise<void>;
|
|
31
31
|
get sortedTransactions(): Transaction[];
|
|
32
|
+
get sortedTransactionsWithSplits(): Transaction[];
|
|
32
33
|
get transactions(): Transaction[];
|
|
33
34
|
addTag: (name: string) => Promise<void>;
|
|
34
35
|
addTagging: (tagGuid: string, transactionGuid: string) => Promise<void>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import { Tag, Transaction } from '../../common';
|
|
2
|
+
/**
|
|
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.
|
|
7
|
+
*/
|
|
8
|
+
export declare function flattenTransactionsWithSplits(sortedTransactions: Transaction[], allTransactions: Transaction[]): Transaction[];
|
|
2
9
|
export declare const exportTransactionsToCSV: (transactions: Transaction[], tags: Tag[]) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.1-alpha.mega2",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -125,4 +125,4 @@
|
|
|
125
125
|
"README.md"
|
|
126
126
|
],
|
|
127
127
|
"packageManager": "yarn@4.9.2"
|
|
128
|
-
}
|
|
128
|
+
}
|