import { NotificationSettingsDTO } from '../dtos/NotificationSettingsDTO';
import { PrivacySettingsDTO } from '../dtos/PrivacySettingsDTO';
import { SponsorProfileDTO } from '../dtos/SponsorProfileDTO';

export interface SponsorSettingsViewModel {
  profile: SponsorProfileDTO;
  notifications: NotificationSettingsDTO;
  privacy: PrivacySettingsDTO;
}

export class SponsorSettingsPresenter {
  private result: SponsorSettingsViewModel | null = null;

  reset() {
    this.result = null;
  }

  present(viewModel: SponsorSettingsViewModel) {
    this.result = viewModel;
  }

  getViewModel(): SponsorSettingsViewModel | null {
    return this.result;
  }

  get viewModel(): SponsorSettingsViewModel | null {
    return this.result;
  }
}
