added basic filtering
This commit is contained in:
@@ -7,6 +7,14 @@ export interface ReportParams {
|
||||
group_by?: ("payee" | "tags")[];
|
||||
ignore_self?: boolean;
|
||||
include_transactions?: boolean;
|
||||
start_date?: string;
|
||||
end_date?: string;
|
||||
flow?: "expense" | "income";
|
||||
payee?: string[];
|
||||
account?: string[];
|
||||
tags?: string[];
|
||||
min_amount?: number;
|
||||
max_amount?: number;
|
||||
}
|
||||
|
||||
export function useReport(params: ReportParams) {
|
||||
|
||||
Reference in New Issue
Block a user