view data fixes
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 6m4s
Contract Testing / contract-snapshot (pull_request) Has been skipped

This commit is contained in:
2026-01-23 11:59:49 +01:00
parent ae58839eb2
commit d97f50ed72
191 changed files with 2889 additions and 1019 deletions

View File

@@ -4,7 +4,9 @@
*
* Note: No matching generated DTO available yet
*/
export class DriverViewModel {
import { ViewModel } from "../contracts/view-models/ViewModel";
export class DriverViewModel extends ViewModel {
id: string;
name: string;
avatarUrl: string | null;
@@ -24,6 +26,7 @@ export class DriverViewModel {
bio?: string;
joinedAt?: string;
}) {
super();
this.id = dto.id;
this.name = dto.name;
this.avatarUrl = dto.avatarUrl ?? null;