integration tests
This commit is contained in:
18
core/dashboard/application/presenters/DashboardPresenter.ts
Normal file
18
core/dashboard/application/presenters/DashboardPresenter.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Dashboard Presenter
|
||||
*
|
||||
* Transforms dashboard data into DTO format for presentation.
|
||||
*/
|
||||
|
||||
import { DashboardDTO } from '../dto/DashboardDTO';
|
||||
|
||||
export class DashboardPresenter {
|
||||
/**
|
||||
* Present dashboard data as DTO
|
||||
* @param data - Dashboard data
|
||||
* @returns Dashboard DTO
|
||||
*/
|
||||
present(data: DashboardDTO): DashboardDTO {
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user