services refactor

This commit is contained in:
2025-12-17 22:17:02 +01:00
parent 26f7a2b6aa
commit 055a7f67b5
93 changed files with 7434 additions and 659 deletions

View File

@@ -0,0 +1,13 @@
import type { SessionDataDto } from '../dtos';
import { SessionViewModel } from '../view-models';
/**
* Session Presenter
* Transforms session DTOs to ViewModels
*/
export class SessionPresenter {
presentSession(dto: SessionDataDto | null): SessionViewModel | null {
if (!dto) return null;
return new SessionViewModel(dto);
}
}