Implement base types
This commit is contained in:
7
src/types/config.ts
Normal file
7
src/types/config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export type ProfileConfig = {
|
||||
config?: object;
|
||||
};
|
||||
|
||||
export type ParserConfig = {
|
||||
|
||||
};
|
||||
15
src/types/transaction.ts
Normal file
15
src/types/transaction.ts
Normal 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[];
|
||||
};
|
||||
Reference in New Issue
Block a user