import type { ParticipantRef } from '@core/racing/domain/types/ParticipantRef';
import type { ChampionshipType } from '@core/racing/domain/types/ChampionshipType';
import { MediaReference } from '../../../core/domain/media/MediaReference';

export const makeDriverRef = (id: string): ParticipantRef => ({
  type: 'driver' as ChampionshipType,
  id,
  avatarRef: MediaReference.systemDefault('avatar'),
});