@actual-app/api
Advanced tools
Comparing version 6.8.0 to 6.8.1
@@ -15,3 +15,3 @@ import { type TransactionEntity, type NewTransactionEntity } from '../types/models'; | ||
type GenericTransactionEntity = NewTransactionEntity | TransactionEntity | TransactionEntityWithError; | ||
export declare function makeChild<T extends GenericTransactionEntity>(parent: T, data: object): T; | ||
export declare function makeChild<T extends GenericTransactionEntity>(parent: T, data?: object): T; | ||
export declare function recalculateSplit(trans: TransactionEntity): TransactionEntityWithError; | ||
@@ -58,3 +58,3 @@ export declare function ungroupTransactions(transactions: TransactionEntity[]): TransactionEntity[]; | ||
}; | ||
export declare function splitTransaction(transactions: TransactionEntity[], id: string): { | ||
export declare function splitTransaction(transactions: TransactionEntity[], id: string, createSubtransactions?: (parentTransaction: TransactionEntity) => TransactionEntity[]): { | ||
data: any[]; | ||
@@ -61,0 +61,0 @@ diff: { |
@@ -82,2 +82,3 @@ import { CategoryEntity } from './category'; | ||
intervalStartDate?: string; | ||
intervalEndDate?: string; | ||
totalAssets: number; | ||
@@ -84,0 +85,0 @@ totalDebts: number; |
@@ -8,4 +8,3 @@ import { type numberFormats } from '../shared/util'; | ||
| 'spendingReport' | ||
| 'simpleFinSync' | ||
| 'splitsInRules'; | ||
| 'simpleFinSync'; | ||
@@ -12,0 +11,0 @@ export type LocalPrefs = Partial< |
{ | ||
"name": "@actual-app/api", | ||
"version": "6.8.0", | ||
"version": "6.8.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "An API for Actual", |
{ | ||
"name": "@actual-app/api", | ||
"version": "6.8.0", | ||
"version": "6.8.1", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "description": "An API for Actual", | ||
"dependencies": { | ||
"@actual-app/crdt": "workspace:^", | ||
"@actual-app/crdt": "^2.1.0", | ||
"better-sqlite3": "^9.6.0", | ||
@@ -41,2 +41,2 @@ "compare-versions": "^6.1.0", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3477019
59135
+ Added@actual-app/crdt@2.1.0(transitive)
+ Addedgoogle-protobuf@3.21.4(transitive)
+ Addedmurmurhash@2.0.1(transitive)
Updated@actual-app/crdt@^2.1.0