diff --git a/src/types/config.ts b/src/types/config.ts new file mode 100644 index 0000000..d26de2e --- /dev/null +++ b/src/types/config.ts @@ -0,0 +1,7 @@ +export type ProfileConfig = { + config?: object; +}; + +export type ParserConfig = { + +}; \ No newline at end of file diff --git a/src/types/transaction.ts b/src/types/transaction.ts new file mode 100644 index 0000000..e7e8d38 --- /dev/null +++ b/src/types/transaction.ts @@ -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[]; +}; \ No newline at end of file