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

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