taxtank-core 0.33.21 → 0.33.22
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/report/income-expense/transaction-report-item.collection.mjs +4 -5
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +1 -4
- package/fesm2022/taxtank-core.mjs +3 -7
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/report/income-expense/transaction-report-item.collection.d.ts +1 -1
- package/src/lib/services/http/transaction/transaction.service.d.ts +0 -1
package/package.json
CHANGED
@@ -2,7 +2,7 @@ import { Collection } from '../../collection';
|
|
2
2
|
import { TransactionReportItem } from '../../../models/report';
|
3
3
|
import { TransactionCollection } from '../../transaction';
|
4
4
|
export declare class TransactionReportItemCollection extends Collection<TransactionReportItem> {
|
5
|
-
|
5
|
+
static fromTransactions(transactions: TransactionCollection, priorTransactions: TransactionCollection): TransactionReportItemCollection;
|
6
6
|
get months(): number[];
|
7
7
|
sumBy(path: string, abs?: boolean): number;
|
8
8
|
}
|
@@ -26,7 +26,6 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
26
26
|
* get list of all user's TaxTank transactions
|
27
27
|
*/
|
28
28
|
get(): Observable<Transaction[]>;
|
29
|
-
getPriorYear(): Observable<Transaction[]>;
|
30
29
|
getByYear(year?: FinancialYear): Observable<Transaction[]>;
|
31
30
|
/**
|
32
31
|
* Add single new transaction
|