import { CompleteOnboardingOutputDTO } from '../types/generated/CompleteOnboardingOutputDTO'; /** * Complete onboarding view model * UI representation of onboarding completion result */ export class CompleteOnboardingViewModel implements CompleteOnboardingOutputDTO { success: boolean; driverId: string; constructor(dto: CompleteOnboardingOutputDTO & { driverId: string }) { this.success = dto.success; this.driverId = dto.driverId; } /** UI-specific: Whether onboarding was successful */ get isSuccessful(): boolean { return this.success; } }