import type { CompleteOnboardingOutputDto } from '../dtos';
import type { CompleteOnboardingViewModel } from '../view-models/CompleteOnboardingViewModel';

/**
 * Complete Onboarding Presenter
 * Transforms CompleteOnboardingOutputDto to CompleteOnboardingViewModel
 */
export class CompleteOnboardingPresenter {
  present(dto: CompleteOnboardingOutputDto): CompleteOnboardingViewModel {
    return {
      driverId: dto.driverId,
      success: dto.success,
    };
  }
}