/**
 * OnboardingPage ViewData Builder
 *
 * Transforms driver check result into ViewData for the onboarding page.
 */

import { OnboardingPageViewData } from '@/lib/view-data/OnboardingPageViewData';

export class OnboardingPageViewDataBuilder {
  /**
   * Transform driver data into ViewData
   * 
   * @param apiDto - The driver data from the service
   * @returns ViewData for the onboarding page
   */
  static build(apiDto: unknown): OnboardingPageViewData {
    return {
      isAlreadyOnboarded: !!apiDto,
    };
  }
}