Implement base types

This commit is contained in:
2025-04-01 13:53:16 +02:00
parent cb0a25bb22
commit 484ef1f8bd
2 changed files with 22 additions and 0 deletions

7
src/types/config.ts Normal file
View File

@@ -0,0 +1,7 @@
export type ProfileConfig = {
config?: object;
};
export type ParserConfig = {
};

15
src/types/transaction.ts Normal file
View File

@@ -0,0 +1,15 @@
export type Transaction = {
id?: string;
account: string;
date: string;
amount?: number;
payee?: string;
payee_name?: string;
imported_payee?: string;
category_id?: string;
notes?: string;
imported_id?: string;
transfer_id?: string;
cleared?: boolean;
subtransactions?: Transaction[];
};