refactor(nestjs): bank transactions matching

This commit is contained in:
Ahmed Bouhuolia
2025-06-05 14:41:26 +02:00
parent f87bd341e9
commit 51988dba3b
43 changed files with 484 additions and 105 deletions

View File

@@ -12,6 +12,7 @@ import { Injectable } from '@nestjs/common';
import { GetItemsService } from './GetItems.service';
import { IItemsFilter } from './types/Items.types';
import { EditItemDto, CreateItemDto } from './dtos/Item.dto';
import { GetItemsQueryDto } from './dtos/GetItemsQuery.dto';
@Injectable()
export class ItemsApplicationService {
@@ -94,7 +95,7 @@ export class ItemsApplicationService {
* Retrieves the paginated filterable items list.
* @param {Partial<IItemsFilter>} filterDTO
*/
async getItems(filterDTO: Partial<IItemsFilter>) {
async getItems(filterDTO: Partial<GetItemsQueryDto>) {
return this.getItemsService.getItems(filterDTO);
}