feat(server): add structure query flat or tree to accounts chart endpoint

This commit is contained in:
a.bouhuolia
2023-04-30 17:24:49 +02:00
parent 903dc0522a
commit 83510cfa70
9 changed files with 158 additions and 18 deletions

View File

@@ -79,9 +79,15 @@ export interface IAccountTransaction {
}
export interface IAccountResponse extends IAccount {}
export enum IAccountsStructureType {
Tree = 'tree',
Flat = 'flat',
}
export interface IAccountsFilter extends IDynamicListFilterDTO {
stringifiedFilterRoles?: string;
onlyInactive: boolean;
structure?: IAccountsStructureType;
}
export interface IAccountType {